serviceAgentAuth property

String? serviceAgentAuth
getter/setter pair

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

The generated token is sent in the Authorization header.

Optional. Possible string values are:

  • "SERVICE_AGENT_AUTH_UNSPECIFIED" : Service agent auth type unspecified. Default to ID_TOKEN.
  • "NONE" : No token used.
  • "ID_TOKEN" : 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-@gcp-sa-dialogflow.iam.gserviceaccount.com.
  • "ACCESS_TOKEN" : Use access token generated from service agent. This can be used to access other Google Cloud APIs after you grant required roles to service-@gcp-sa-dialogflow.iam.gserviceaccount.com.

Implementation

core.String? serviceAgentAuth;