projects

GET /v1/projects/{projectsId}/dataSources/{dataSourcesId}

Retrieves a supported data source and returns its settings.

Request

  • Base URL
    https://bigquerydatatransfer.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/bigquery
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/bigquery
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform.read-only
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform.read-only

Path parameters

projectsId, string required
dataSourcesId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Response

Successful response

DataSource required

Defines the properties and custom parameters for a data source.

authorizationType, 'AUTHORIZATION_TYPE_UNSPECIFIED' | 'AUTHORIZATION_CODE' | 'GOOGLE_PLUS_AUTHORIZATION_CODE' | 'FIRST_PARTY_OAUTH'

Indicates the type of authorization.

clientId, string

Data source client id which should be used to receive refresh token.

dataRefreshType, 'DATA_REFRESH_TYPE_UNSPECIFIED' | 'SLIDING_WINDOW' | 'CUSTOM_SLIDING_WINDOW'

Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported. For some data sources, data might not be complete until a few days later, so it's useful to refresh data automatically.

dataSourceId, string

Data source id.

defaultDataRefreshWindowDays, integer

Default data refresh window on days. Only meaningful when data_refresh_type = SLIDING_WINDOW.

defaultSchedule, string

Default data transfer schedule. Examples of valid schedules include: 1st,3rd monday of month 15:30, every wed,fri of jan,jun 13:15, and first sunday of quarter 00:00.

description, string

User friendly data source description string.

displayName, string

User friendly data source name.

helpUrl, string

Url for the help document for this data source.

manualRunsDisabled, boolean

Disables backfilling and manual run scheduling for the data source.

minimumScheduleInterval, string google-duration

The minimum interval for scheduler to schedule runs.

name, string

Output only. Data source resource name.

parameters, DataSourceParameter[]

Data source parameters.

scopes, string[]

Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery

supportsCustomSchedule, boolean

Specifies whether the data source supports a user defined schedule, or operates on the default schedule. When set to true, user can override default schedule.

supportsMultipleTransfers, boolean

Deprecated. This field has no effect.

transferType, 'TRANSFER_TYPE_UNSPECIFIED' | 'BATCH' | 'STREAMING'

Deprecated. This field has no effect.

updateDeadlineSeconds, integer

The number of seconds to wait for an update from the data source before the Data Transfer Service marks the transfer as FAILED.

Changes

No recorded changes to this operation across all 5 revisions of this API.