Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the dataSources.list RPC and as such, will appear in the BigQuery UI, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.
HTTP request
POST https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*/locations/*}:enrollDataSources
[[["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 API endpoint \u003ccode\u003eprojects.locations.enrollDataSources\u003c/code\u003e allows users to enroll data sources in a project, enabling the creation of transfer configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003ePOST\u003c/code\u003e method to the specified URL using gRPC Transcoding syntax, requiring a project name in the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body is in JSON format and needs at least one \u003ccode\u003edataSourceId\u003c/code\u003e in an array called \u003ccode\u003edataSourceIds\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response from the endpoint will be an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, the request needs the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the \u003ccode\u003eresourcemanager.projects.update\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,[]]