Method: projects.dataSources.get

Retrieves a supported data source and returns its settings, which can be used for UI rendering.

HTTP request

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

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

The field will contain name of the resource requested, for example: projects/{project_id}/dataSources/{dataSourceId}

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

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

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Auth Guide.

Try it!

Send feedback about...