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 data with the following structure:

Returns list of supported data sources and their metadata.

JSON representation
{
  "dataSources": [
    {
      object(DataSource)
    }
  ],
  "nextPageToken": string,
}
Fields
dataSources[]

object(DataSource)

List of supported data sources and their transfer settings.

nextPageToken

string

The next-pagination token. For multiple-page list results, this token can be used as the ListDataSourcesRequest.page_token to request the next page of list results.

Note: This field is used in responses only. Any value specified here in a request is ignored.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/bigquery.readonly

For more information, see the Auth Guide.

Send feedback about...