Google 云端硬盘共享云端硬盘操作#
¥Google Drive Shared Drive operations
使用此操作在 Google 云端硬盘中创建、删除、获取和更新共享云端硬盘。有关 Google Drive 节点本身的更多信息,请参阅 Google 云端硬盘。
¥Use this operation to create, delete, get, and update shared drives in Google Drive. Refer to Google Drive for more information on the Google Drive node itself.
This node can be used as an AI tool
This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.
创建共享驱动器#
¥Create a shared drive
使用此操作创建新的共享云端硬盘。
¥Use this operation to create a new shared drive.
请输入以下参数:
¥Enter these parameters:
- 用于连接的凭据:创建或选择现有 Google 云端硬盘凭据。
¥Credential to connect with: Create or select an existing Google Drive credentials.
- 资源:选择共享驱动器。
¥Resource: Select Shared Drive.
- 操作:选择“创建”。
¥Operation: Select Create.
- 名称:新共享驱动器的名称。
¥Name: The name to use for the new shared drive.
选项#
¥Options
- 功能:要为新的共享驱动器设置的功能(更多详情请参见 REST 资源:云端硬盘 | Google 云端硬盘):
¥Capabilities: The capabilities to set for the new shared drive (see REST Resources: drives | Google Drive for more details):
-
可添加子项:当前用户是否可以向此共享驱动器中的文件夹添加子文件夹。
¥Can Add Children: Whether the current user can add children to folders in this shared drive.
-
“可更改副本”需要写入权限限制:当前用户是否可以更改此共享驱动器的
copyRequiresWriterPermission限制?¥Can Change Copy Requires Writer Permission Restriction: Whether the current user can change the
copyRequiresWriterPermissionrestriction on this shared drive. -
“可更改副本”仅限域用户限制:当前用户是否可以更改此共享驱动器的
domainUsersOnly限制?¥Can Change Domain Users Only Restriction: Whether the current user can change the
domainUsersOnlyrestriction on this shared drive. -
可更改云端硬盘背景:当前用户是否可以更改此共享驱动器的背景?
¥Can Change Drive Background: Whether the current user can change the background on this shared drive.
-
“可更改副本”仅限云端硬盘成员限制:当前用户是否可以更改此共享驱动器的
driveMembersOnly限制?¥Can Change Drive Members Only Restriction: Whether the current user can change the
driveMembersOnlyrestriction on this shared drive. -
可评论:当前用户是否可以对此共享驱动器中的文件进行评论?
¥Can Comment: Whether the current user can comment on files in this shared drive.
-
可复制:当前用户是否可以复制此共享驱动器中的文件?
¥Can Copy: Whether the current user can copy files in this shared drive.
-
可删除子项:当前用户是否可以删除此共享驱动器中文件夹的子文件夹?
¥Can Delete Children: Whether the current user can delete children from folders in this shared drive.
-
可删除云端硬盘:当前用户是否可以删除此共享驱动器?如果共享驱动器中存在不在回收站中的项目,此操作仍可能失败。
¥Can Delete Drive: Whether the current user can delete this shared drive. This operation may still fail if there are items not in the trash in the shared drive.
-
可下载:当前用户是否可以从此共享驱动器下载文件?
¥Can Download: Whether the current user can download files from this shared drive.
-
可编辑:当前用户是否可以编辑此共享驱动器中的文件?
¥Can Edit: Whether the current user can edit files from this shared drive.
-
可列出子项:当前用户是否可以列出此共享驱动器中文件夹的子文件夹?
¥Can List Children: Whether the current user can list the children of folders in this shared drive.
-
可管理成员:当前用户是否可以添加、删除或更改此共享驱动器成员的角色。
¥Can Manage Members: Whether the current user can add, remove, or change the role of members of this shared drive.
-
可查看修订:当前用户是否可以读取此共享驱动器中文件的修订资源?
¥Can Read Revisions: Whether the current user can read the revisions resource of files in this shared drive.
-
可重命名云端硬盘:当前用户是否可以重命名此共享驱动器?
¥Can Rename Drive: Whether the current user can rename this shared drive.
-
可共享:当前用户是否可以共享此共享驱动器中的文件或文件夹。
¥Can Share: Whether the current user can share files or folders in this shared drive.
-
可删除子项:当前用户是否可以删除此共享驱动器中文件夹中的子项。
¥Can Trash Children: Whether the current user can trash children from folders in this shared drive.
-
颜色 RGB:此共享驱动器的颜色(RGB 十六进制字符串)。
¥Color RGB: The color of this shared drive as an RGB hex string.
- 隐藏:是否在默认视图中隐藏此共享驱动器。
¥Hidden: Whether to hide this shared drive in the default view.
- 限制:要添加到此共享驱动器的限制(详见 REST 资源:云端硬盘 | Google 云端硬盘):
¥Restrictions: Restrictions to add to this shared drive (see REST Resources: drives | Google Drive for more details):
-
管理员管理权限:启用后,此处的限制会将此共享驱动器中任何文件的同名字段的值覆盖为 true。
¥Admin Managed Restrictions: When enabled, restrictions here will override the similarly named fields to true for any file inside of this shared drive.
-
复制需要写入权限:是否应禁用读者和评论者复制、打印或下载此共享驱动器中文件的选项。
¥Copy Requires Writer Permission: Whether the options to copy, print, or download files inside this shared drive should be disabled for readers and commenters.
-
仅限域用户:是否限制此共享驱动器及其内项目的访问权限,仅限其所属域的用户。
¥Domain Users Only: Whether to restrict access to this shared drive and items inside this shared drive to users of the domain to which this shared drive belongs.
-
仅限云端硬盘成员:是否限制此共享驱动器内项目的访问权限,仅限其成员。
¥Drive Members Only: Whether to restrict access to items inside this shared drive to its members.
请参阅 方法:插入云端硬盘 | Google 云端硬盘 API 文档了解更多信息。
¥Refer to the Method: drives.insert | Google Drive API documentation for more information.
删除共享驱动器#
¥Delete a shared drive
使用此操作可删除共享云端硬盘。
¥Use this operation to delete a shared drive.
请输入以下参数:
¥Enter these parameters:
- 用于连接的凭据:创建或选择现有 Google 云端硬盘凭据。
¥Credential to connect with: Create or select an existing Google Drive credentials.
- 资源:选择共享驱动器。
¥Resource: Select Shared Drive.
- 操作:选择“删除”。
¥Operation: Select Delete.
- 共享云盘:请选择要删除的共享驱动器。
¥Shared Drive: Choose the shared drive want to delete.
-
选择“从列表”从下拉列表中选择标题,选择“通过 URL”输入驱动器 URL,或选择“通过 ID”输入
driveId。¥Select From list to choose the title from the dropdown list, By URL to enter the URL of the drive, or By ID to enter the
driveId. -
你可以在共享 Google 云端硬盘的 URL 中找到
driveId:https://drive.google.com/drive/u/0/folders/driveID。¥You can find the
driveIdin the URL for the shared Google Drive:https://drive.google.com/drive/u/0/folders/driveID.
请参阅 方法:删除云端硬盘 | Google 云端硬盘 API 文档了解更多信息。
¥Refer to the Method: drives.delete | Google Drive API documentation for more information.
获取共享驱动器#
¥Get a shared drive
使用此操作获取共享驱动器。
¥Use this operation to get a shared drive.
请输入以下参数:
¥Enter these parameters:
- 用于连接的凭据:创建或选择现有 Google 云端硬盘凭据。
¥Credential to connect with: Create or select an existing Google Drive credentials.
- 资源:选择共享驱动器。
¥Resource: Select Shared Drive.
- 操作:选择“获取”。
¥Operation: Select Get.
- 共享云盘:请选择要获取的共享驱动器。
¥Shared Drive: Choose the shared drive want to get.
-
选择“从列表”从下拉列表中选择标题,选择“通过 URL”输入驱动器 URL,或选择“通过 ID”输入
driveId。¥Select From list to choose the title from the dropdown list, By URL to enter the URL of the drive, or By ID to enter the
driveId. -
你可以在共享 Google 云端硬盘的 URL 中找到
driveId:https://drive.google.com/drive/u/0/folders/driveID。¥You can find the
driveIdin the URL for the shared Google Drive:https://drive.google.com/drive/u/0/folders/driveID.
选项#
¥Options
- 使用域管理员访问权限:是否以域管理员身份发出请求。启用后,如果请求者是共享驱动器所属域的管理员,则授予其访问权限。
¥Use Domain Admin Access: Whether to issue the request as a domain administrator. When enabled, grants the requester access if they're an administrator of the domain to which the shared drive belongs.
请参阅 方法:获取云端硬盘 | Google 云端硬盘 API 文档了解更多信息。
¥Refer to the Method: drives.get | Google Drive API documentation for more information.
获取多个共享驱动器#
¥Get many shared drives
使用此操作获取多个共享驱动器。
¥Use this operation to get many shared drives.
请输入以下参数:
¥Enter these parameters:
- 用于连接的凭据:创建或选择现有 Google 云端硬盘凭据。
¥Credential to connect with: Create or select an existing Google Drive credentials.
- 资源:选择共享驱动器。
¥Resource: Select Shared Drive.
- 操作:选择“获取多个”。
¥Operation: Select Get Many.
- 返回全部:选择是否返回所有结果,还是仅返回指定限制内的结果。
¥Return All: Choose whether to return all results or only up to a given limit.
- 限制:禁用“全部返回”时要返回的最大项目数。
¥Limit: The maximum number of items to return when Return All is disabled.
- 共享云盘:请选择要获取的共享驱动器。
¥Shared Drive: Choose the shared drive want to get.
-
选择“从列表”从下拉列表中选择标题,选择“通过 URL”输入驱动器 URL,或选择“通过 ID”输入
driveId。¥Select From list to choose the title from the dropdown list, By URL to enter the URL of the drive, or By ID to enter the
driveId. -
你可以在共享 Google 云端硬盘的 URL 中找到
driveId:https://drive.google.com/drive/u/0/folders/driveID。¥You can find the
driveIdin the URL for the shared Google Drive:https://drive.google.com/drive/u/0/folders/driveID.
选项#
¥Options
- 查询:用于搜索共享驱动器的查询字符串。请参阅 搜索共享驱动器 | Google 云端硬盘 了解更多信息。
¥Query: The query string to use to search for shared drives. See Search for shared drives | Google Drive for more information.
- 使用域管理员访问权限:是否以域管理员身份发出请求。启用后,如果请求者是共享驱动器所属域的管理员,则授予其访问权限。
¥Use Domain Admin Access: Whether to issue the request as a domain administrator. When enabled, grants the requester access if they're an administrator of the domain to which the shared drive belongs.
请参阅 方法:获取云端硬盘 | Google 云端硬盘 API 文档了解更多信息。
¥Refer to the Method: drives.get | Google Drive API documentation for more information.
更新共享驱动器#
¥Update a shared drive
使用此操作更新共享驱动器。
¥Use this operation to update a shared drive.
请输入以下参数:
¥Enter these parameters:
- 用于连接的凭据:创建或选择现有 Google 云端硬盘凭据。
¥Credential to connect with: Create or select an existing Google Drive credentials.
- 资源:选择共享驱动器。
¥Resource: Select Shared Drive.
- 操作:选择“更新”。
¥Operation: Select Update.
- 共享云盘:请选择要更新的共享驱动器。
¥Shared Drive: Choose the shared drive you want to update.
-
选择“从列表”从下拉列表中选择驱动器,选择“按 URL”输入驱动器的 URL,或选择“按 ID”输入
driveId。¥Select From list to choose the drive from the dropdown list, By URL to enter the URL of the drive, or By ID to enter the
driveId. -
你可以在共享 Google 云端硬盘的 URL 中找到
driveId:https://drive.google.com/drive/u/0/folders/driveID。¥You can find the
driveIdin the URL for the shared Google Drive:https://drive.google.com/drive/u/0/folders/driveID.
更新字段#
¥Update Fields
- 颜色 RGB:此共享驱动器的颜色(RGB 十六进制字符串)。
¥Color RGB: The color of this shared drive as an RGB hex string.
- 名称:共享驱动器的更新名称。
¥Name: The updated name for the shared drive.
- 限制:此共享驱动器的限制(详见 REST 资源:云端硬盘 | Google 云端硬盘):
¥Restrictions: Restrictions for this shared drive (see REST Resources: drives | Google Drive for more details):
-
管理员管理权限:启用后,此处的限制会将此共享驱动器中任何文件的同名字段的值覆盖为 true。
¥Admin Managed Restrictions: When enabled, restrictions here will override the similarly named fields to true for any file inside of this shared drive.
-
复制需要写入权限:是否应禁用读者和评论者复制、打印或下载此共享驱动器中文件的选项。
¥Copy Requires Writer Permission: Whether the options to copy, print, or download files inside this shared drive should be disabled for readers and commenters.
-
仅限域用户:是否限制此共享驱动器及其内项目的访问权限,仅限其所属域的用户。
¥Domain Users Only: Whether to restrict access to this shared drive and items inside this shared drive to users of the domain to which this shared drive belongs.
-
仅限云端硬盘成员:是否限制此共享驱动器内项目的访问权限,仅限其成员。
¥Drive Members Only: Whether to restrict access to items inside this shared drive to its members.
请参阅 方法:更新云端硬盘 | Google 云端硬盘 API 文档了解更多信息。
¥Refer to the Method: drives.update | Google Drive API documentation for more information.