Reference documentation and code samples for the Dialogflow CX V3 API module Google::Cloud::Dialogflow::CX::V3::Webhook::GenericWebService::ServiceAgentAuth.
Indicate the auth token type generated from the Diglogflow service agent.
Constants
SERVICE_AGENT_AUTH_UNSPECIFIED
value: 0
Service agent auth type unspecified. Default to ID_TOKEN.
NONE
value: 1
No token used.
ID_TOKEN
value: 2
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: 3
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.