订阅

UiPath 活动

UiPath 活动指南

Setup

Setup

Before using the Google Vision Activities Package, you need to configure your applications using the Google Cloud Platform.

配置分为两个步骤:

  1. Enable APIs - this step enables automation by granting API access to your Google applications.
  2. 创建凭据 - 此步骤会指定用于与启用的 API 进行交互的身份验证类型。

1. Enable APIs

请按照下列步骤启用 API。

📘

Note:

下列步骤均出自 Google API 控制台帮助文档中的“启用和禁用 API”。

  1. 使用个人、公司或学校的 Google G Suite 帐户登录 Google Cloud Platform
  2. 登录 Google Cloud Platform 后,在顶部菜单栏中选择要用于自动化项目的项目。
    • 若没有项目,请按照 Google Cloud 文档中的“创建和管理项目”说明创建一个项目。
  1. Open the Navigation menu in the top navigation bar.
  2. 将鼠标悬停在“API 与服务”上方(显示选项菜单),然后选择“库”(打开“API 库”)。
  1. From the API Library, go to the Machine Learning section.
  2. Click Cloud Vision API.
  1. In the Google Vision API page, click Enable.

操作完毕!现在,让我们创建凭据,以便您访问启用的 API。

2. Create credentials

请按照下列步骤为项目创建凭据。

  1. 在项目的“API 与服务”页面(“Google Cloud Platform”>“项目”>“API 与服务”)中,单击左侧导航面板中的“凭据”
  1. “凭据”页面打开后,单击“创建凭据”并选择要用于应用程序的凭据类型。

📘

Notes:

  • You should consult your IT department to determine the type of credentials you should use for your project. For more information about the differences between the credential types, see Authentication Overview.

  • 如需了解所有凭据类型,请参阅以下详细信息。

    • API key: An API key is the simplest authentication mechanism. For more information about API Keys, see Using API Keys in the Google Cloud Documentation.
    • OAuth client ID: The OAuth Client ID method is recommended for attended automation because user consent is required before the robot can access to your Google account (for more information, see User consent in the Google Help documentation.
      For more information about OAuth client ID, see Using OAuth 2.0 to Access Google APIs in the Google Cloud Documentation. For step-by-step instructions, see Setting up OAuth 2.0 in the Google Help documentation.
    • Service account key: A service account key is a special type of Google account that belongs to your application instead of to an individual end-user. Your application calls Google APIs on behalf of the service account, so users aren't directly involved. For more information about Service account keys, see Understanding service accounts in the Google Cloud Documentation.
  1. 请按照下列适用说明添加所选凭据。

操作完毕!

Now that you have enabled APIs and added credentials, you can build automation projects that include Google Vision activities.

The use of the software developed and provided by UiPath in connection with any Google software is subject to the UiPath Open Platform Activity License Agreement. Google software and services used in conjunction with the UiPath software may be accessed and used in accordance with Google Terms and any other applicable agreements, policies, or guidelines as made available by Google.*

3个月前更新


Setup


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.