Identifier. The resource name of the transfer config. Transfer config names have the form either projects/{projectId}/locations/{region}/transferConfigs/{configId} or projects/{projectId}/transferConfigs/{configId}, where configId is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.
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:
Required. Required list of fields to be updated in this request.
This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".
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 update 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 an 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-07-02 UTC."],[[["\u003cp\u003eThis endpoint \u003ccode\u003eprojects.locations.transferConfigs.patch\u003c/code\u003e updates an existing data transfer configuration, requiring all fields to be set, even those not being modified.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003ePATCH\u003c/code\u003e method with a URL structure based on gRPC Transcoding, requiring a \u003ccode\u003etransferConfig.name\u003c/code\u003e path parameter in the form \u003ccode\u003eprojects/*/locations/*/transferConfigs/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters include \u003ccode\u003eupdateMask\u003c/code\u003e to specify the fields to be updated, \u003ccode\u003eserviceAccountName\u003c/code\u003e to use a service account's credentials, and \u003ccode\u003eversionInfo\u003c/code\u003e which is used for new credentials when \u003ccode\u003etransferConfig.dataSourceId\u003c/code\u003e is 'youtube_channel'.\u003c/p\u003e\n"],["\u003cp\u003eBoth the request and response bodies utilize the \u003ccode\u003eTransferConfig\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]