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
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
AUTHORIZATION_CODE | Use OAuth 2 authorization codes that can be exchanged for a refresh token on the backend. |
AUTHORIZATION_CODE_VALUE | Use OAuth 2 authorization codes that can be exchanged for a refresh token on the backend. |
AUTHORIZATION_TYPE_UNSPECIFIED | Type unspecified. |
AUTHORIZATION_TYPE_UNSPECIFIED_VALUE | Type unspecified. |
FIRST_PARTY_OAUTH | Use First Party OAuth. |
FIRST_PARTY_OAUTH_VALUE | Use First Party OAuth. |
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_VALUE | Return an authorization code for a given Google+ page that can then be exchanged for a refresh token on the backend. |
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() |