Google Drive模块

通过Adobe Workfront Fusion Google Drive模块,您可以监视、搜索、创建、更新、删除和管理Google Drive中的文件、文件夹或共享驱动器。

在Adobe Workfront Fusion方案中,您可以将Google Drive帐户连接到多个第三方应用程序和服务。

有关创建方案的说明,请参阅创建方案:文章索引下的文章。

有关模块的信息,请参阅模块:文章索引下的文章。

访问要求

展开以查看本文中各项功能的访问要求。

您必须具有以下权限才能使用本文中的功能:

table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header
Adobe Workfront包 任何
Adobe Workfront许可证

新增:标准

当前:工作或更高

Adobe Workfront Fusion许可证**

当前:无Workfront Fusion许可证要求。

旧版:Workfront Fusion for Work Automation and Integration

产品

新增:

  • 选择或Prime Workfront包:您的组织必须购买Adobe Workfront Fusion。
  • Ultimate Workfront包:其中包含Workfront Fusion。

当前:您的组织必须购买Adobe Workfront Fusion。

有关此表中信息的更多详细信息,请参阅文档🔗中的访问要求。

有关Adobe Workfront Fusion许可证的信息,请参阅Adobe Workfront Fusion 许可证

Google驱动器API信息

Google驱动器连接器使用以下对象:

基本URL
https://www.googleapis.com/drive/v3
API版本
v3
API标记
v4.1.22

正在将Google Drive连接到Workfront Fusion

如果您使用@gmail.com或@googlemail.com用户,则必须在Google Cloud Platform上创建OAuth客户端以获取您的Client ID和Client Secret。

有关如何创建OAuth客户端(并获取Client ID和Client Secret)的分步说明,请参阅使用自定义OAuth客户端连接 Adobe Workfront Fusion 到 Google Services 。

有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅创建与Adobe Workfront Fusion的连接 — 基本说明

Google Drive模块及其字段

配置Google Drive模块时,Workfront Fusion显示下面列出的字段。 除此以外,可能还会显示其他Google Drive字段,具体取决于应用程序或服务中的访问级别等因素。 模块中的粗体标题表示必填字段。

如果看到字段或函数上方的映射按钮,则可以使用该按钮设置该字段的变量和函数。 有关详细信息,请参阅将信息从一个模块映射到另一个模块

映射切换

触发器

Watch all files

添加或修改Google Drive中的文件时,此触发器模块会启动方案。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
What files to watch

选择要监视的文件类型。

  • All
  • Google Documents
  • Google Spreadsheets
  • Google Slides
  • Google Drawings
Convert Google Documents 要格式化的文件
选择要将Google Documents转换为的文件格式。
Convert Google Spreadsheets 要格式化的文件
选择要将Google Spreadsheets转换为的文件格式。
Convert Google Slides 要格式化的文件
选择要将Google Slides转换为的文件格式。
Convert Google Drawings 要格式化的文件
选择要将Google Drawings转换为的文件格式。
Watch
选择是要监视新文件和所有更改,还是只监视新文件。
Maximum number of downloaded files
设置Workfront Fusion在一个周期内下载的最大结果数(每个方案运行的重复次数)。

Watch Comments

此触发器模块会在选定文件上添加或修改评论时启动方案。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
File
选择要监视其注释的文件。
Watch
选择要监视所有更改还是仅监视新注释
Maximum number of returned comments
设置Workfront Fusion在一个周期内返回的最大评论数(每个方案运行的重复次数)。

Watch files in folder

在指定文件夹中添加或修改文件时,此触发器模块将启动方案。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Select the folder to be watched
选择驱动器上要监视文件的文件夹。
What files to watch

选择要监视的文件类型。

  • All
  • Google Documents
  • Google Spreadsheets
  • Google Slides
  • Google Drawings
Convert Google Documents 要格式化的文件
选择要将Google Documents转换为的文件格式。
Convert Google Spreadsheets 要格式化的文件
选择要将Google Spreadsheets转换为的文件格式。
Convert Google Slides 要格式化的文件
选择要将Google Slides转换为的文件格式。
Convert Google Drawings 要格式化的文件
选择要将Google Drawings转换为的文件格式。
Watch
选择是要监视新文件和所有更改,还是只监视新文件。
Maximum number of downloaded files
设置Workfront Fusion在一个周期内下载的最大结果数(每个方案运行的重复次数)。

Watch shared files

当您共享新文件或更新现有共享文件时,会触发该事件。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Select the folder to be watched
选择要监视文件的共享文件夹。
What files to watch

选择要监视的文件类型。

  • All
  • Google Documents
  • Google Spreadsheets
  • Google Slides
  • Google Drawings
Convert Google Documents 要格式化的文件
选择要将Google Documents转换为的文件格式。
Convert Google Spreadsheets 要格式化的文件
选择要将Google Spreadsheets转换为的文件格式。
Convert Google Slides 要格式化的文件
选择要将Google Slides转换为的文件格式。
Convert Google Drawings 要格式化的文件
选择要将Google Drawings转换为的文件格式。
Watch
选择是要监视新文件和所有更改,还是只监视新文件。
Maximum number of downloaded files
设置Workfront Fusion在一个周期内下载的最大结果数(每个方案运行的重复次数)。

操作

Copy a file

此操作模块将文件复制到新位置。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Destination

选择要将文件复制到的目标。

  • My Drive
  • Shared with Me
Target folder
选择包含要复制文件的文件夹。
File ID
映射要复制的文件的ID。
The name of the copy
输入新文件的标题。 如果不想更改原始文件名,请将此字段留空。

Create a folder

此操作模块在指定位置创建一个文件夹。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Destination

选择要创建文件夹的目标。

  • My Drive
  • Shared with Me
New folder location
导航到要创建新文件夹的位置。
The name of the new folder
输入正在创建的文件夹的名称。
Share folder
如果要与具有Share链接的任何人共享文件夹,请选择此选项。 否则,共享链接仅供所有者使用。

Delete a file

此操作模块将永久删除文件或文件夹。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
File ID
映射要删除的文件的ID。

Get a file

此操作模块会检索具有指定ID的文件。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Convert Google Documents 要格式化的文件
选择要将Google Documents转换为的文件格式。
Convert Google Spreadsheets 要格式化的文件
选择要将Google Spreadsheets转换为的文件格式。
Convert Google Slides 要格式化的文件
选择要将Google Slides转换为的文件格式。
Convert Google Drawings 要格式化的文件
选择要将Google Drawings转换为的文件格式。
File ID
映射要检索的文件的ID。

此操作模块检索Google驱动器中文件的共享链接。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
File ID
映射要获取共享链接的文件的ID。

Move a file to trash

此操作模块会将文件或文件夹移至垃圾桶。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
File ID
将您要移动的文件的ID映射到垃圾桶。

Search for Files/Folders

此搜索模块根据搜索条件搜索文件或文件夹。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Destination

选择要搜索的目标驱动器。

  • My Drive
  • Shared with Me
List a folder
导航到要搜索文件或文件夹的文件夹。
Retrieve
选择是要搜索文件、文件夹,还是同时搜索两者。
Search

选择要执行的搜索类型。

  • Search within file/folder names

    • Query

      输入要搜索的文件名的一部分或完整文件名(包括后缀)。

    • Search Options

      选择是要搜索确切的搜索词,还是要搜索包含该搜索词的名称。

  • Fulltext搜索

    • Query

      输入要在Google Drive中搜索的任何搜索词。

  • 输入自定义搜索查询

    • Query

      输入自定义搜索查询。 有关更多详细信息,请参阅本文的Search for Files部分。

    • 将上面选择的文件夹添加到查询

      在父收藏集中搜索文件夹。 这会查找直接位于上面所选文件夹中的所有文件和文件夹。

Maximum number of returned results
设置在一个执行周期内Workfront Fusion将返回的最大文件或文件夹数。
Continue the execution of the route even if the module returns no results
启用此选项以确保在模块未返回任何结果时不会停止该方案。

Update a File

此操作模块可更新文件的元数据或内容。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Destination

选择包含要更新的文件的目标。

  • My Drive
  • Shared with Me
Move to a folder
如果要将文件移动到特定文件夹,请选择要将文件移动到其中的文件夹。
File ID
映射要更新的文件的ID。
Title
输入更新文件的标题。
Change a file content
选择是否要替换文件的内容。
Source file
如果要替换内容,请从以前的模块中选择源文件,或映射源文件的名称和数据。
Conver a file
启用此选项以将文件转换为相应的Google文件格式。

Upload a File

将文件上传到您的Google Drive。

Connection
有关将Google Drive帐户连接到Workfront Fusion的说明,请参阅将Google Drive连接到Workfront Fusion
Destination

选择要将文件上载到的目标。

  • My Drive
  • Shared with Me
Target folder
选择要将文件上传到的文件夹。
Source file
从上一个模块中选择源文件,或映射源文件的名称和数据。
Title
输入新文件的标题。
Convert a file
启用此选项将允许模块将文件转换为相应的Google格式。

故障排除

无法上传或更新文件

上传或更新文件失败的原因有多种:

  • 上传的文件太大,超过了您的Google Drive计划允许的最大文件大小限制,或者您已超过Google Drive存储限制。 您可以升级存储计划,也可以从Google Drive服务中删除现有文件。
  • 要将文件上载到的所选文件夹不再存在。 在这种情况下,场景将停止,您必须在该模块中选择不同的目标文件夹。
recommendation-more-help
7e1891ad-4d59-4355-88ab-a2e62ed7d1a3