Enum Webhook.GenericWebService.ServiceAgentAuth (0.54.0)

public enum Webhook.GenericWebService.ServiceAgentAuth extends Enum<Webhook.GenericWebService.ServiceAgentAuth> implements ProtocolMessageEnum

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

Protobuf enum google.cloud.dialogflow.cx.v3beta1.Webhook.GenericWebService.ServiceAgentAuth

Implements

ProtocolMessageEnum

Static Fields

Name Description
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-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com.

ACCESS_TOKEN = 3;

ACCESS_TOKEN_VALUE

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.

ACCESS_TOKEN = 3;

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-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com.

ID_TOKEN = 2;

ID_TOKEN_VALUE

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.

ID_TOKEN = 2;

NONE

No token used.

NONE = 1;

NONE_VALUE

No token used.

NONE = 1;

SERVICE_AGENT_AUTH_UNSPECIFIED

Service agent auth type unspecified. Default to ID_TOKEN.

SERVICE_AGENT_AUTH_UNSPECIFIED = 0;

SERVICE_AGENT_AUTH_UNSPECIFIED_VALUE

Service agent auth type unspecified. Default to ID_TOKEN.

SERVICE_AGENT_AUTH_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()