Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects/{projectId}/locations/{locationId} or projects/{projectId}. If specified location and location of the destination bigquery dataset do not match - the request will fail.
Authorization requires the following IAM permission on the specified resource parent:
bigquery.transfers.update
Query parameters
Parameters
authorizationCode (deprecated)
string
Deprecated: Authorization code was required when transferConfig.dataSourceId is 'youtube_channel' but it is no longer used in any data sources. Use versionInfo instead.
Optional OAuth2 authorization code to use with this transfer configuration. This is required only if transferConfig.dataSourceId is 'youtube_channel' and new credentials are needed, as indicated by dataSources.checkValidCreds. In order to obtain authorizationCode, make a request to the following URL:
The clientId is the OAuth clientId of the data source as returned by dataSources.list method.
data_source_scopes are the scopes returned by dataSources.list method.
Note that this should not be set when serviceAccountName is used to create the transfer config.
versionInfo
string
Optional version info. This parameter replaces authorizationCode which is no longer used in any data sources. This is required only if transferConfig.dataSourceId is 'youtube_channel' or new credentials are needed, as indicated by dataSources.checkValidCreds. In order to obtain version info, make a request to the following URL:
The clientId is the OAuth clientId of the data source as returned by dataSources.list method.
data_source_scopes are the scopes returned by dataSources.list method.
Note that this should not be set when serviceAccountName is used to create the transfer config.
serviceAccountName
string
Optional service account email. If this field is set, the transfer config will be created with this service account's credentials. It requires that the requesting user calling this API has permissions to act as this service account.
Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about using service accounts.
Request body
The request body contains an instance of TransferConfig.
Response body
If successful, the response body contains a newly created instance of TransferConfig.
[[["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-02-25 UTC."],[[["This endpoint allows the creation of a new data transfer configuration within a specified BigQuery project and location."],["The `parent` path parameter is required and must be in the format `projects/{projectId}/locations/{locationId}` or `projects/{projectId}`, and proper IAM permissions are needed."],["The request requires an HTTP `POST` to the URL `https://bigquerydatatransfer.googleapis.com/v1/{parent=projects/*/locations/*}/transferConfigs` using gRPC Transcoding syntax."],["Optional query parameters like `authorizationCode`, `versionInfo`, and `serviceAccountName` can be used for specific data source configurations, such as 'youtube_channel'."],["Successful creation returns a new `TransferConfig` instance, and the request requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]