Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Tool::Authentication::ServiceAgentAuthConfig::ServiceAgentAuth (v1.13.0)

Reference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::Tool::Authentication::ServiceAgentAuthConfig::ServiceAgentAuth.

Indicate the auth token type generated from the Diaglogflow service agent.

Constants

SERVICE_AGENT_AUTH_UNSPECIFIED

value: 0
Service agent auth type unspecified. Default to ID_TOKEN.

ID_TOKEN

value: 1
Use ID token generated from service agent. This can be used to access Cloud Function and Cloud Run after you grant Invoker role to service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com.

ACCESS_TOKEN

value: 2
Use access token generated from service agent. This can be used to access other Google Cloud APIs after you grant required roles to service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com.