- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: projects.locations.transferConfigs.patch
Updates a data transfer configuration. All fields must be set, even if they are not updated.
HTTP request
PATCH https://bigquerydatatransfer.googleapis.com/v1/{transferConfig.name=projects/*/locations/*/transferConfigs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
transfer |
Identifier. The resource name of the transfer config. Transfer config names have the form either |
Query parameters
Parameters | |
---|---|
authorizationCode |
Deprecated: Authorization code was required when Optional OAuth2 authorization code to use with this transfer configuration. This is required only if https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=clientId&scope=data_source_scopes
Note that this should not be set when |
update |
Required. Required list of fields to be updated in this request. This is a comma-separated list of fully qualified names of fields. Example: |
version |
Optional version info. This parameter replaces https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=clientId&scope=data_source_scopes
Note that this should not be set when |
service |
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 an instance of TransferConfig
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.