Method: projects.dataSources.list

Lists supported data sources and returns their settings, which can be used for UI rendering.

HTTP request

GET https://bigquerydatatransfer.googleapis.com/v1/{parent=projects/*}/dataSources

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
parent

string

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{projectId}

Query parameters

Parameters
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 pageToken value to request the next page of list results.

pageSize

number

Page size. The default page size is the maximum value of 1000 results.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListDataSourcesResponse.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/bigquery.readonly
  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only

For more information, see the Auth Guide.

Try it!

Send feedback about...