Google Drive Tools
Googledrive Create Permission
通过 Aident Loadout 使用 Google Drive Tools 的 Googledrive Create Permission。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5OAuth 连接
服务提供商说明
Tool to create a permission for a file or shared drive. Use when you need to share a file or folder with users, groups, domains, or make it publicly accessible. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- The role granted by this permission. Valid values are: owner, organizer, fileOrganizer, writer, commenter, reader.rolestring必填
- The type of the grantee. When creating a permission, if type is 'user' or 'group', you must provide an emailAddress. When type is 'domain', you must provide a domain. There isn't extra information required for 'anyone' type.typestring必填
- The domain to which this permission refers. Required when type is 'domain'.domainstring
- The ID of the file or shared drive.file_idstring必填
- The email address of the user or group to which this permission refers. Required when type is 'user' or 'group'.email_addressstring
- A plain text custom message to include in the notification email.email_messagestring
- The time at which this permission will expire (RFC 3339 date-time). Expiration times can only be set on user and group permissions, must be in the future, and cannot be more than a year in the future.expiration_timestring
- Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.transfer_ownershipboolean
- Whether the requesting application supports both My Drives and shared drives.supports_all_drivesboolean
- Whether the permission allows the file to be discovered through search. This is only applicable for permissions of type 'domain' or 'anyone'.allow_file_discoveryboolean
- This parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. If set to true, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to false, parents a…move_to_new_owners_rootboolean
- Whether to send a notification email when sharing to users or groups. This defaults to true for users and groups, and is not allowed for other requests. It must not be disabled for ownership transfers.send_notification_emailboolean
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。