Enum AuthenticationConfig.AuthenticationType (4.56.0)

public enum AuthenticationConfig.AuthenticationType extends Enum<AuthenticationConfig.AuthenticationType> implements ProtocolMessageEnum

Authentication types for workload execution.

Protobuf enum google.cloud.dataproc.v1.AuthenticationConfig.AuthenticationType

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTHENTICATION_TYPE_UNSPECIFIED

If AuthenticationType is unspecified then END_USER_CREDENTIALS is used for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older runtimes.

AUTHENTICATION_TYPE_UNSPECIFIED = 0;

AUTHENTICATION_TYPE_UNSPECIFIED_VALUE

If AuthenticationType is unspecified then END_USER_CREDENTIALS is used for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older runtimes.

AUTHENTICATION_TYPE_UNSPECIFIED = 0;

END_USER_CREDENTIALS

Use OAuth credentials associated with the workload creator/user for authenticating to other services.

END_USER_CREDENTIALS = 2;

END_USER_CREDENTIALS_VALUE

Use OAuth credentials associated with the workload creator/user for authenticating to other services.

END_USER_CREDENTIALS = 2;

SERVICE_ACCOUNT

Use service account credentials for authenticating to other services.

SERVICE_ACCOUNT = 1;

SERVICE_ACCOUNT_VALUE

Use service account credentials for authenticating to other services.

SERVICE_ACCOUNT = 1;

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