Reference documentation and code samples for the BigQuery Data Transfer Service V1 API module Google::Cloud::Bigquery::DataTransfer::V1::DataSource::AuthorizationType.
The type of authorization needed for this data source.
Constants
AUTHORIZATION_TYPE_UNSPECIFIED
value: 0 Type unspecified.
AUTHORIZATION_CODE
value: 1 Use OAuth 2 authorization codes that can be exchanged
for a refresh token on the backend.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# BigQuery Data Transfer Service V1 API - Module Google::Cloud::Bigquery::DataTransfer::V1::DataSource::AuthorizationType (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/latest/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [1.4.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.4.0/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [1.3.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.3.1/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [1.2.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.2.0/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [1.1.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.1.0/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [1.0.3](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/1.0.3/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.14.2](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.14.2/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.13.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.13.1/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.12.2](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.12.2/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.11.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.11.0/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.10.0/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.9.0/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.8.0](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.8.0/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.7.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.7.1/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.6.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.6.1/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.5.1](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.5.1/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType)\n- [0.4.6](/ruby/docs/reference/google-cloud-bigquery-data_transfer-v1/0.4.6/Google-Cloud-Bigquery-DataTransfer-V1-DataSource-AuthorizationType) \nReference documentation and code samples for the BigQuery Data Transfer Service V1 API module Google::Cloud::Bigquery::DataTransfer::V1::DataSource::AuthorizationType.\n\nThe type of authorization needed for this data source.\n\nConstants\n---------\n\n### AUTHORIZATION_TYPE_UNSPECIFIED\n\n**value:** 0 \nType unspecified.\n\n### AUTHORIZATION_CODE\n\n**value:** 1 \nUse OAuth 2 authorization codes that can be exchanged\nfor a refresh token on the backend.\n\n### GOOGLE_PLUS_AUTHORIZATION_CODE\n\n**value:** 2 \nReturn an authorization code for a given Google+ page that can then be\nexchanged for a refresh token on the backend.\n\n### FIRST_PARTY_OAUTH\n\n**value:** 3 \nUse First Party OAuth."]]