Method: projects.locations.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/*/locations/*}/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/{project_id}

Authorization requires one or more of the following Google IAM permissions on the specified resource parent:

  • resourcemanager.projects.own
  • resourcemanager.projects.update
  • resourcemanager.projects.get
  • bigquery.transfers.get
  • bigquery.transfers.update

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 Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Try it!

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...