Enum DataSource.AuthorizationType (2.45.0)

public enum DataSource.AuthorizationType extends Enum<DataSource.AuthorizationType> implements ProtocolMessageEnum

The type of authorization needed for this data source.

Protobuf enum google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTHORIZATION_CODE

Use OAuth 2 authorization codes that can be exchanged for a refresh token on the backend.

AUTHORIZATION_CODE = 1;

AUTHORIZATION_CODE_VALUE

Use OAuth 2 authorization codes that can be exchanged for a refresh token on the backend.

AUTHORIZATION_CODE = 1;

AUTHORIZATION_TYPE_UNSPECIFIED

Type unspecified.

AUTHORIZATION_TYPE_UNSPECIFIED = 0;

AUTHORIZATION_TYPE_UNSPECIFIED_VALUE

Type unspecified.

AUTHORIZATION_TYPE_UNSPECIFIED = 0;

FIRST_PARTY_OAUTH

Use First Party OAuth.

FIRST_PARTY_OAUTH = 3;

FIRST_PARTY_OAUTH_VALUE

Use First Party OAuth.

FIRST_PARTY_OAUTH = 3;

GOOGLE_PLUS_AUTHORIZATION_CODE

Return an authorization code for a given Google+ page that can then be exchanged for a refresh token on the backend.

GOOGLE_PLUS_AUTHORIZATION_CODE = 2;

GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE

Return an authorization code for a given Google+ page that can then be exchanged for a refresh token on the backend.

GOOGLE_PLUS_AUTHORIZATION_CODE = 2;

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