UiPath Documentation
activities
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

生産性を高めるアクティビティ

Google Workspace のコード化されたオートメーション API

API を使用すると、[パッケージを管理] メニューで提供されているサービスにアクセスして操作することができます。これらの API は、コード化されたオートメーションを設計する際に使用できます。コード化されたオートメーションと、API を使用してそれらのオートメーションを設計する方法について詳しくは、こちらをご覧ください。

注:

Using Go to Definition (F12) lets you access the definition of UiPath APIs for a certain service. We recommend relying only on the directly exposed APIs when you implement coded automations. Other APIs that are not directly exposed with a service are subject to change without prior notification.

オーバー ロード

API には多くの場合、過剰な負荷があります。つまり、パラメーター オプションが異なる同じメソッドの複数のバージョンを提供します。 オーバー ロードすると、特定の要件に基づいて API の動作をカスタマイズできます。 たとえば、UI Automation API には、UI 要素が表示されるまでの最大時間を指定するタイムアウト パラメーターを受け入れるオーバー ロードが設定されている場合があります。

By using the APIs with their respective overloads, you can achieve your desired automation logic and behavior.

Google Workspace サービスのコード化されたオートメーション API

The Google Workspace coded automation APIs complement the capabilities of the Google Workspace activity package, letting you have a full coding experience. This approach encourages custom actions, and supports reusability. The coded automation APIs cover the Google Calendar, Drive and Drive Labels, Gmail, and Sheets services.

コード化されたオートメーション API を使用する

Google のコード化されたオートメーション API を使用するには、まず Integration Service で確立されたコネクションを呼び出す必要があります。その後、目的のサービス (たとえば、ドライブ (var service = google.Drive(connections.Drive.<connectionID>) を呼び出し、コード化されたオートメーション API (var service = google.Drive.CopyFile) を追加します。

  1. アクティビティ パッケージをダウンロードします。
  2. コード化されたワークフローを作成します。
  3. connections サービスを呼び出して Integration Service のコネクションにアクセスしてから、目的の Google サービスを呼び出します。
  4. 前の手順で選択したコネクションで、目的のコード化されたオートメーション API を呼び出します。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得