Enum Tool.Authentication.OAuthConfig.OauthGrantType (0.54.0)

public enum Tool.Authentication.OAuthConfig.OauthGrantType extends Enum<Tool.Authentication.OAuthConfig.OauthGrantType> implements ProtocolMessageEnum

OAuth grant types. Only client credential grant is supported.

Protobuf enum google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig.OauthGrantType

Implements

ProtocolMessageEnum

Static Fields

Name Description
CLIENT_CREDENTIAL

Represents the client credential flow.

CLIENT_CREDENTIAL = 1;

CLIENT_CREDENTIAL_VALUE

Represents the client credential flow.

CLIENT_CREDENTIAL = 1;

OAUTH_GRANT_TYPE_UNSPECIFIED

Default value. This value is unused.

OAUTH_GRANT_TYPE_UNSPECIFIED = 0;

OAUTH_GRANT_TYPE_UNSPECIFIED_VALUE

Default value. This value is unused.

OAUTH_GRANT_TYPE_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()