通过使用 Google Drive package 中的 actions 来自动化与文件和文件夹相关的任务。

开始之前

按以下顺序使用 Google Drive actions 中的 package
  1. 使用连接 action 建立与 Google 服务器的连接。

    请参阅 Google 软件包的连接操作

  2. 使用此 actions 中可用的 package 组合来自动执行任务。
    注: 若要从其他 Google packages 使用 actions,请使用来自该 package
  3. 使用断开连接 action 终止连接。

    请参阅 断开 Google packages 连接 action

Google Drive package 中的 Actions

Google Drive package 包括以下 actions

Action 描述
检查权限 请参阅 在 Google Drive 中检查权限 action
复制文件 请参阅 在 Google Drive 内复制文件 action
复制文件夹 请参阅 在 Google Drive 中复制文件夹 action
创建文件权限 请参阅 在 Google Drive 中创建文件权限 action
创建文件夹 请参阅 在 Google Drive 中创建文件夹 action
删除文件 请参阅 删除 Google Drive 中的文件 action
删除文件权限 请参阅 在 Google Drive 中删除文件权限 action
删除文件夹 请参阅 删除 Google Drive 中的文件夹 action
下载文件 请参阅 在 Google Drive 中下载文件 action
查找文件/文件夹 请参阅 Google Drive 中的查找文件/文件夹action
获取文件信息 请参阅 在 Google Drive 中获取文件信息 action
获取文件权限 请参阅 在 Google Drive 中获取文件权限 action
移动文件 请参阅 在 Google Drive 中移动文件 action
移动文件夹 请参阅 Google Drive 中的移动文件夹 action
打开文件 从 Google Drive 中的指定目录打开文件。
  • 输入您在连接 action 中提供的相同用户名。
  • 选择是按文件路径和名称还是按 ID 标识文件。
    注: ID 是 URL 中最后一个正斜杠之后的值。 例如,如果 URL 为 https://docs.google.com/spreadsheets/d/12dlAwvrEA4JeLysfFky9,则 ID 为 12dlAwvrEA4JeLysfFky9
打开文件夹 从 Google Drive 中的指定目录打开文件夹。
  • 输入您在连接 action 中提供的相同用户名。
  • 选择是按目录路径和名称标识还是按 ID 标识文件夹。
    注: ID 是 URL 中最后一个正斜杠之后的值。 例如,如果 URL 为 https://docs.google.com/spreadsheets/d/12dlAwvrEA4JeLysfFky9,则 ID 为 12dlAwvrEA4JeLysfFky9
重命名文件 请参阅 Google Drive 中的重命名文件 action
重命名文件夹 请参阅 在 Google Drive 中重命名文件夹 action
上传文件 请参阅 Google Drive 中的上传文件 action
更新文件权限 更新文件的权限。
  • 选择是按文件路径和名称还是按 ID 标识文件。
    注: ID 是 URL 中最后一个正斜杠之后的值。 例如,如果 URL 为 https://docs.google.com/spreadsheets/d/12dlAwvrEA4JeLysfFky9,则 ID 为 12dlAwvrEA4JeLysfFky9
  • 权限 ID 字段中,输入您的用户 ID。
  • 选择角色。 有关更多信息,请参阅 Google Drive 角色
  • 可选: 选择或创建变量以保存权限 ID。