Stay organized with collections
Save and categorize content based on your preferences.
Lists supported data sources and returns their settings.
Arguments
Parameters
parent
string
Required. The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id} or projects/{project_id}/locations/{location_id}
Page size. The default page size is the maximum value of 1000 results.
pageToken
string
Pagination token, which can be used to request a specific page of ListDataSourcesRequest list results. For multiple-page results, ListDataSourcesResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.
Raised exceptions
Exceptions
ConnectionError
In case of a network problem (such as DNS failure or refused connection).
HttpError
If the response status is >= 400 (excluding 429 and 503).
TimeoutError
If a long-running operation takes longer to finish than the specified timeout limit.
TypeError
If an operation or function receives an argument of the wrong type.
ValueError
If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout.
[[["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-08-28 UTC."],[],[],null,["# Method: googleapis.bigquerydatatransfer.v1.projects.locations.dataSources.list\n\nLists supported data sources and returns their settings.\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`ListDataSourcesResponse`](https://cloud.google.com/workflows/docs/reference/googleapis/bigquerydatatransfer/v1/Overview#ListDataSourcesResponse).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/bigquery-transfer/docs/reference/datatransfer/rest/v1/projects.locations.dataSources/list). \n\n### YAML\n\n```yaml\n- list:\n call: googleapis.bigquerydatatransfer.v1.projects.locations.dataSources.list\n args:\n parent: ...\n pageSize: ...\n pageToken: ...\n result: listResult\n```\n\n### JSON\n\n```json\n[\n {\n \"list\": {\n \"call\": \"googleapis.bigquerydatatransfer.v1.projects.locations.dataSources.list\",\n \"args\": {\n \"parent\": \"...\",\n \"pageSize\": \"...\",\n \"pageToken\": \"...\"\n },\n \"result\": \"listResult\"\n }\n }\n]\n```"]]