Google Calendarコネクターカードのスコープ

Google Calendarコネクターは、スコープ付きのOAuth 2.0アクセストークンを使用して、Google APIにアクセスします。各アクセストークンは、ベアラーが特定のGoogleエンドポイントで特定のアクションを実行することを可能にします。アクセストークンに含まれるスコープは、これらのアクションを実行する機能を制御します。

Googleコネクターで使用するイベントおよびアクションカードごとに、必要なスコープを付与します。

既存の接続にスコープの変更を反映させるには、接続を再承認する必要があります。

Google開発者ドキュメントの「Google API用OAuth 2.0 スコープ」トピックが、利用可能なスコープすべてを詳細に説明しています。

イベントカード

Google Calendarコネクターのイベントカードは、以下の表に示されているスコープを必要とします。

コネクターカード

必要なスコープ

新規イベントのモニター

https://www.googleapis.com/auth/calendar

または

https://www.googleapis.com/auth/calendar.readonly

更新されたイベントのモニター

https://www.googleapis.com/auth/calendar

または

https://www.googleapis.com/auth/calendar.readonly

アクションカード

Google Calendarコネクターのイベントカードは、以下の表に示されているスコープを必要とします。

コネクターカード

必要なスコープ

カレンダーにユーザーを追加

https://www.googleapis.com/auth/calendar

Create New Event(新規イベントの作成)

https://www.googleapis.com/auth/calendar

Create Reminder(リマインダーの作成)

https://www.googleapis.com/auth/calendar.events

Create Transfer Request(移行リクエストの作成)

https://www.googleapis.com/auth/admin.directory.user.readonly

https://www.googleapis.com/auth/admin.datatransfer

カスタムAPIアクション

APIエンドポイントに必要なスコープ。

イベントの削除

https://www.googleapis.com/auth/calendar

または

https://www.googleapis.com/auth/calendar.events

空き時間帯の確認

https://www.googleapis.com/auth/calendar

または

https://www.googleapis.com/auth/calendar.readonly

イベントの移動

https://www.googleapis.com/auth/calendar

または

https://www.googleapis.com/auth/calendar.events

すべてのカレンダーの参照

https://www.googleapis.com/auth/calendar

または

https://www.googleapis.com/auth/calendar.readonly

空き時間帯の参照

https://www.googleapis.com/auth/calendar

または

https://www.googleapis.com/auth/calendar.readonly

イベント情報の参照

以下のいずれか:

https://www.googleapis.com/auth/calendar

https://www.googleapis.com/auth/calendar.readonly

https://www.googleapis.com/auth/calendar.events

https://www.googleapis.com/auth/calendar.events.readonly

移行リクエストの参照

https://www.googleapis.com/auth/admin.datatransfer

https://www.googleapis.com/auth/admin.directory.user.readonly

Remove User from Calendar(カレンダーからのユーザーの削除)

https://www.googleapis.com/auth/calendar

イベントの検索

以下のいずれか:

https://www.googleapis.com/auth/calendar

https://www.googleapis.com/auth/calendar.readonly

https://www.googleapis.com/auth/calendar.events

https://www.googleapis.com/auth/calendar.events.readonly

ルームの検索

https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly

Search Transfer Request(移行リクエストの検索)

https://www.googleapis.com/auth/admin.datatransfer

https://www.googleapis.com/auth/admin.directory.user.readonly

イベントの更新(Update Event)

https://www.googleapis.com/auth/calendar