- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Full name: projects.locations.transferConfigs.create
Creates a new data transfer configuration.
HTTP request
POST https://bigquerydatatransfer.googleapis.com/v1/{parent=projects/*/locations/*}/transferConfigs
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
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
|
Query parameters
Parameters | |
---|---|
authorizationCode |
Optional OAuth2 authorization code to use with this transfer configuration. This is required if new credentials are needed, as indicated by
|
versionInfo |
Optional version info. If users want to find a very recent access token, that is, immediately after approving access, users have to set the versionInfo claim in the token request. To obtain the versionInfo, users must use the "none+gsession" response type. which be return a versionInfo back in the authorization response which be be put in a JWT claim in the token request. |
serviceAccountName |
Optional service account name. If this field is set, transfer config will be created with this service account credentials. It requires that requesting user calling this API has permissions to act as this service account. |
Request body
The request body contains an instance of TransferConfig
.
Response body
If successful, the response body contains a newly created instance of TransferConfig
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.