BigQuery Data Transfer V1 Client - Class AuthorizationType (1.4.5)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class AuthorizationType.

The type of authorization needed for this data source.

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

AUTHORIZATION_TYPE_UNSPECIFIED

Value: 0

Type unspecified.

Generated from protobuf enum AUTHORIZATION_TYPE_UNSPECIFIED = 0;

AUTHORIZATION_CODE

Value: 1

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

Generated from protobuf enum AUTHORIZATION_CODE = 1;

GOOGLE_PLUS_AUTHORIZATION_CODE

Value: 2

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

Generated from protobuf enum GOOGLE_PLUS_AUTHORIZATION_CODE = 2;

FIRST_PARTY_OAUTH

Value: 3

Use First Party OAuth.

Generated from protobuf enum FIRST_PARTY_OAUTH = 3;