今すぐ始める
Google Drive Tools

Googledrive Create Permission

Aident Loadout を通じて Google Drive Tools の Googledrive Create Permission を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 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.

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • rolestring
    必須
    The role granted by this permission. Valid values are: owner, organizer, fileOrganizer, writer, commenter, reader.
  • typestring
    必須
    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.
  • domainstring
    The domain to which this permission refers. Required when type is 'domain'.
  • file_idstring
    必須
    The ID of the file or shared drive.
  • email_addressstring
    The email address of the user or group to which this permission refers. Required when type is 'user' or 'group'.
  • email_messagestring
    A plain text custom message to include in the notification email.
  • expiration_timestring
    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.
  • transfer_ownershipboolean
    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.
  • supports_all_drivesboolean
    Whether the requesting application supports both My Drives and shared drives.
  • allow_file_discoveryboolean
    Whether the permission allows the file to be discovered through search. This is only applicable for permissions of type 'domain' or 'anyone'.
  • move_to_new_owners_rootboolean
    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…
  • send_notification_emailboolean
    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.

確認できる出力

  • data
    必須
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必須
    Whether or not the action execution was successful or not

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース