Google Cloud Dialogflow Cx V3 Client - Class ServiceAgentAuth (0.4.0)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ServiceAgentAuth.

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

Protobuf type google.cloud.dialogflow.cx.v3.Webhook.GenericWebService.ServiceAgentAuth

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Webhook \ GenericWebService

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SERVICE_AGENT_AUTH_UNSPECIFIED

Value: 0

Service agent auth type unspecified. Default to ID_TOKEN.

Generated from protobuf enum SERVICE_AGENT_AUTH_UNSPECIFIED = 0;

NONE

Value: 1

No token used.

Generated from protobuf enum NONE = 1;

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.

Generated from protobuf enum ID_TOKEN = 2;

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.

Generated from protobuf enum ACCESS_TOKEN = 3;