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-02-25 UTC."],[[["This API endpoint allows for the enrollment of data sources within a user's project, enabling the creation of transfer configurations."],["The API uses a `POST` request to `https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}:enrollDataSources` and requires a project ID in the path parameter `name`."],["The request body must be a JSON object containing an array of `dataSourceIds`, with at least one ID provided."],["Successful enrollment returns an empty JSON object in the response body, otherwise an error will be thrown."],["Authorization requires the `resourcemanager.projects.update` IAM permission on the specified project and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]