一般的に、複数のチームメンバーが共同でエージェントの作成を行い、サービスがエージェントにアクセスします。ロールを使用すると、プリンシパルに付与されるアクセスと権限を制御できます。
Identity and Access Management(IAM)を使用して、Google Cloud コンソールでアクセスを構成できます。 Google Cloud コンソールは、プリンシパルに IAM ロールを付与するために使用します。権限の追加、編集、削除の詳細な手順については、IAM クイックスタートをご覧ください。
設定にアクセスするには、 Google Cloud コンソールで [IAM] ページを開きます。
プロジェクトにユーザーやサービス アカウントを追加する
ユーザーやサービス アカウントに権限を付与するには、 Google Cloud プロジェクトでロールを付与します。ユーザーを追加するには、そのユーザーのメールアドレスを入力します。サービス アカウントを追加する場合も、そのアカウントに関連付けられているメールアドレスを入力します。1 つのサービス アカウントを複数のプロジェクトに使用する場合は、サービス アカウントを追加する必要があります。サービス アカウントに関連付けられたメールアドレスを確認するには、 Google Cloud コンソールの IAM サービス アカウント ページをご覧ください。
プリンシパルを追加する
プリンシパルを追加する手順は次のとおりです。
- ページの上部にある をクリックします。
- プリンシパルのメールアドレスを入力します。
- 役割を選択します。
- [保存] をクリックします。
権限を変更する
権限を変更する手順は次のとおりです。
- プリンシパルの をクリックします。
- 別の役割を選択します。
- [保存] をクリックします。
プリンシパルを削除する
プリンシパルを削除するには、プリンシパルの をクリックします。
IAM ロール
CX Agent Studio にアクセスするには、次のロールを使用できます。
Gemini Enterprise for Customer Experience 管理者(ces.googleapis.com/admin)
これにより、リソースへのフルアクセス権が付与されます。
基本ロール:
ces.googleapis.com/viewerces.googleapis.com/clientcontactcenterinsights.googleapis.com/admin
その他の権限:
ces.googleapis.com/operations.deleteces.googleapis.com/operations.cancelces.googleapis.com/apps.createces.googleapis.com/apps.updateces.googleapis.com/apps.deleteces.googleapis.com/apps.importces.googleapis.com/apps.exportces.googleapis.com/apps.runEvaluationces.googleapis.com/agents.createces.googleapis.com/agents.updateces.googleapis.com/agents.updateCallbacksces.googleapis.com/agents.updateInstructionsces.googleapis.com/agents.updateToolsces.googleapis.com/agents.updateGeneralces.googleapis.com/agents.deleteces.googleapis.com/examples.createces.googleapis.com/examples.updateces.googleapis.com/examples.deleteces.googleapis.com/tools.createces.googleapis.com/tools.updateces.googleapis.com/tools.deleteces.googleapis.com/guardrails.createces.googleapis.com/guardrails.updateces.googleapis.com/guardrails.deleteces.googleapis.com/toolsets.createces.googleapis.com/toolsets.updateces.googleapis.com/toolsets.deleteces.googleapis.com/deployments.createces.googleapis.com/deployments.updateces.googleapis.com/deployments.deleteces.googleapis.com/conversations.deleteces.googleapis.com/evaluations.createces.googleapis.com/evaluations.updateces.googleapis.com/evaluations.deleteces.googleapis.com/evaluationResults.deleteces.googleapis.com/evaluationDatasets.createces.googleapis.com/evaluationDatasets.updateces.googleapis.com/evaluationDatasets.deleteces.googleapis.com/evaluationRuns.deleteces.googleapis.com/scheduledEvaluationRuns.createces.googleapis.com/scheduledEvaluationRuns.updateces.googleapis.com/scheduledEvaluationRuns.deleteces.googleapis.com/appVersions.createces.googleapis.com/appVersions.deleteces.googleapis.com/appVersions.restoreces.googleapis.com/omnichannels.createces.googleapis.com/omnichannels.updateces.googleapis.com/omnichannels.deleteces.googleapis.com/apps.createTagBindingces.googleapis.com/apps.deleteTagBindingces.googleapis.com/apps.listTagBindingsces.googleapis.com/apps.listEffectiveTagsces.googleapis.com/assistantSessions.createces.googleapis.com/routes.createces.googleapis.com/routes.updateces.googleapis.com/routes.deleteces.googleapis.com/endpointConfigs.createces.googleapis.com/endpointConfigs.updateces.googleapis.com/endpointConfigs.deleteces.googleapis.com/sipDomains.createces.googleapis.com/sipDomains.updateces.googleapis.com/sipDomains.deleteces.googleapis.com/securitySettings.update
Gemini Enterprise for Customer Experience 閲覧者(ces.googleapis.com/viewer)
これにより、リソースへの読み取り専用アクセス権が付与されます。
基本ロール:
contactcenterinsights.googleapis.com/viewer
その他の権限:
cloudresourcemanager.googleapis.com/projects.getcloudresourcemanager.googleapis.com/projects.listces.googleapis.com/operations.listces.googleapis.com/operations.getces.googleapis.com/locations.listces.googleapis.com/locations.getces.googleapis.com/apps.listces.googleapis.com/apps.getces.googleapis.com/agents.listces.googleapis.com/agents.getces.googleapis.com/examples.listces.googleapis.com/examples.getces.googleapis.com/tools.listces.googleapis.com/tools.getces.googleapis.com/guardrails.listces.googleapis.com/guardrails.getces.googleapis.com/toolsets.listces.googleapis.com/toolsets.getces.googleapis.com/deployments.listces.googleapis.com/deployments.getces.googleapis.com/conversations.listces.googleapis.com/conversations.getces.googleapis.com/appVersions.listces.googleapis.com/appVersions.getces.googleapis.com/evaluations.listces.googleapis.com/evaluations.getces.googleapis.com/evaluationResults.listces.googleapis.com/evaluationResults.getces.googleapis.com/evaluationDatasets.listces.googleapis.com/evaluationDatasets.getces.googleapis.com/evaluationRuns.listces.googleapis.com/evaluationRuns.getces.googleapis.com/scheduledEvaluationRuns.listces.googleapis.com/scheduledEvaluationRuns.getces.googleapis.com/changelogs.listces.googleapis.com/changelogs.getces.googleapis.com/omnichannels.getces.googleapis.com/omnichannels.listces.googleapis.com/apps.listTagBindingsces.googleapis.com/apps.listEffectiveTagsces.googleapis.com/assistantSessions.listces.googleapis.com/assistantSessions.getces.googleapis.com/routes.listces.googleapis.com/routes.getces.googleapis.com/endpointConfigs.listces.googleapis.com/endpointConfigs.getces.googleapis.com/sipDomains.listces.googleapis.com/sipDomains.getces.googleapis.com/securitySettings.get
Gemini Enterprise for Customer Experience クライアント(ces.googleapis.com/client)
これにより、エージェントにクエリ アクセス権が付与されます。
権限:
ces.googleapis.com/sessions.runSessionces.googleapis.com/sessions.bidiRunSessionces.googleapis.com/tools.execute
Gemini Enterprise for Customer Experience アプリ編集者(ces.googleapis.com/appEditor)
アプリレベルの設定を完全に管理できます。グローバル ロギング、音声構成、ストレージ バケット、アプリのバージョンを管理します。
基本ロール:
ces.googleapis.com/viewer
その他の権限:
ces.googleapis.com/apps.createces.googleapis.com/apps.updateces.googleapis.com/apps.deleteces.googleapis.com/apps.importces.googleapis.com/apps.exportces.googleapis.com/apps.runEvaluationces.googleapis.com/apps.createTagBindingces.googleapis.com/apps.deleteTagBindingces.googleapis.com/appVersions.createces.googleapis.com/appVersions.deleteces.googleapis.com/appVersions.restore
Gemini Enterprise for Customer Experience エージェント編集者(ces.googleapis.com/agentEditor)
エージェント ノードの構造、フロー、指示、コールバックを完全に制御できます。エージェントにツールを追加/削除できます(新しいツールを作成することはできません)。
基本ロール:
ces.googleapis.com/viewerces.googleapis.com/client
その他の権限:
ces.googleapis.com/agents.createces.googleapis.com/agents.updateces.googleapis.com/agents.updateCallbacksces.googleapis.com/agents.updateInstructionsces.googleapis.com/agents.updateToolsces.googleapis.com/agents.updateGeneralces.googleapis.com/agents.deleteces.googleapis.com/examples.createces.googleapis.com/examples.updateces.googleapis.com/examples.delete
Gemini Enterprise for Customer Experience Tools 編集者(ces.googleapis.com/toolsEditor)
ツール、ツールセット、統合を完全に管理できます。
基本ロール:
ces.googleapis.com/viewerces.googleapis.com/client
その他の権限:
ces.googleapis.com/tools.createces.googleapis.com/tools.updateces.googleapis.com/tools.deleteces.googleapis.com/toolsets.createces.googleapis.com/toolsets.updateces.googleapis.com/toolsets.delete
Gemini Enterprise for Customer Experience Guardrails 編集者(ces.googleapis.com/guardrailsEditor)
安全性設定とガードレールを完全に管理できます。
基本ロール:
- ces.googleapis.com/viewer
- ces.googleapis.com/client
その他の権限:
- ces.googleapis.com/guardrails.create
- ces.googleapis.com/guardrails.update
- ces.googleapis.com/guardrails.delete
Gemini Enterprise for Customer Experience Evals 編集者(ces.googleapis.com/evalsEditor)
評価データセット、実行、結果を完全に管理できます。
基本ロール:
ces.googleapis.com/viewerces.googleapis.com/client
その他の権限:
ces.googleapis.com/evaluations.createces.googleapis.com/evaluations.updateces.googleapis.com/evaluations.deleteces.googleapis.com/evaluationResults.deleteces.googleapis.com/evaluationDatasets.createces.googleapis.com/evaluationDatasets.updateces.googleapis.com/evaluationDatasets.deleteces.googleapis.com/evaluationRuns.deleteces.googleapis.com/scheduledEvaluationRuns.createces.googleapis.com/scheduledEvaluationRuns.updateces.googleapis.com/scheduledEvaluationRuns.delete
Gemini Enterprise for Customer Experience セキュリティ設定編集者(ces.googleapis.com/securitySettingsEditor)
プロジェクト全体のセキュリティ設定を完全に管理できます。
基本ロール:
ces.googleapis.com/viewer
その他の権限:
ces.googleapis.com/securitySettings.update
Gemini Enterprise for Customer Experience デプロイメント編集者(ces.googleapis.com/deploymentEditor)
環境を管理し、特定のアプリ バージョンを環境にデプロイできます。
基本ロール:
ces.googleapis.com/viewer
その他の権限:
ces.googleapis.com/deployments.createces.googleapis.com/deployments.updateces.googleapis.com/deployments.delete
カスタマー エクスペリエンスのインサイト
CX Agent Studio は CX Insights と統合されています。CX Agent Studio にアクセスするプリンシパルには、次の CX Insights 権限を付与する必要があります。
contactcenterinsights.googleapis.com/conversations.getcontactcenterinsights.googleapis.com/conversations.list
これらの権限は、ces.googleapis.com/admin と ces.googleapis.com/viewer の子ロールによって自動的に含まれます。ただし、カスタムロールを定義する場合は、これらの権限をカスタムロールの定義に含めるようにしてください。
または、関連するプリンシパルに次のいずれかの CX Insights ロールを付与することもできます。
contactcenterinsights.googleapis.com/viewer: 会話に対する読み取り専用アクセス権を付与しますcontactcenterinsights.googleapis.com/admin: 会話に対する完全アクセス権を付与します
ロールに加えて、Discovery Engine の設定の手順に沿って操作する必要がある場合があります。
Cloud Storage へのアクセスに関連するリクエスト
一部の CX Agent Studio リクエストは、データの読み取りと書き込みのために Cloud Storage 内のオブジェクトにアクセスします。これらのリクエストのいずれかを呼び出すと、CX Agent Studio は呼び出し元の代わりに Cloud Storage データにアクセスします。つまり、リクエスト認証には、CX Agent Studio と Cloud Storage オブジェクトにアクセスする権限が必要です。
Google クライアント ライブラリと IAM 役割を使用する場合、Cloud Storage の役割の情報にはCloud Storage アクセス制御ガイドをご覧ください。
独自のクライアントを実装し、OAuth を使用する場合は、次の OAuth スコープを使用する必要があります。
https://www.googleapis.com/auth/cloud-platform(すべてのプロジェクト リソースへのアクセス)
1 つのエージェント アプリケーションへのアクセスを制限する条件を追加する
プリンシパルを追加または編集するときに、アクセス権を 1 つのエージェント アプリケーションに制限する条件付きロール バインディングを作成できます。
次の条件では、特定のエージェント アプリケーションと、エージェント アプリケーションに必要なプロジェクト内の最上位リソースへのアクセスが許可されます。
resource.name == "projects/PROJECT_ID" ||
resource.name.startsWith("projects/PROJECT_ID/locations/LOCATION_ID/apps/APP_ID") ||
resource.name.startsWith("projects/PROJECT_ID/locations/LOCATION_ID/operations") ||
resource.name.startsWith("projects/PROJECT_ID/locations/LOCATION_ID/sipDomains") ||
resource.name.startsWith("projects/PROJECT_ID/locations/LOCATION_ID/omnichannels") ||
resource.name.startsWith("projects/PROJECT_ID/locations/LOCATION_ID/dataStores") ||
resource.name.startsWith("projects/PROJECT_ID/locations/LOCATION_ID/routes") ||
resource.name.startsWith("projects/PROJECT_ID/locations/LOCATION_ID/endpointConfigs")
カスタマー エクスペリエンス分析情報にアクセスするには、条件付き付与に加えて、カスタマー エクスペリエンス分析情報のロールを付与する必要があります。