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/*}: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 allows for the enrollment of data sources within a user's project, enabling the creation of transfer configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe API uses a \u003ccode\u003ePOST\u003c/code\u003e request to \u003ccode\u003ehttps://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}:enrollDataSources\u003c/code\u003e and requires a project ID in the path parameter \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be a JSON object containing an array of \u003ccode\u003edataSourceIds\u003c/code\u003e, with at least one ID provided.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful enrollment returns an empty JSON object in the response body, otherwise an error will be thrown.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003eresourcemanager.projects.update\u003c/code\u003e IAM permission on the specified project and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]