---
title: "GET /v1/projects/{projectsId}/dataSources/{dataSourcesId}"
method: GET
path: "/v1/projects/{projectsId}/dataSources/{dataSourcesId}"
tags: ["projects"]
---

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

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

## Request

- Base URL: `https://bigquerydatatransfer.googleapis.com`
- URL: `https://bigquerydatatransfer.googleapis.com/v1/projects/{projectsId}/dataSources/{dataSourcesId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/bigquery`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/bigquery`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform.read-only`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform.read-only`

Retrieves a supported data source and returns its settings.

## Path parameters

- `projectsId` string, required
- `dataSourcesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- DataSource: 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.
    - `allowedValues` string[]: All possible values for the parameter.
    - `deprecated` boolean: If true, it should not be used in new transfers, and it should not be visible to users.
    - `description` string: Parameter description.
    - `displayName` string: Parameter display name in the user interface.
    - `fields` DataSourceParameter[]: Deprecated. This field has no effect.
    - `immutable` boolean: Cannot be changed after initial creation.
    - `maxListSize` string, int64: For list parameters, the max size of the list.
    - `maxValue` number, double: For integer and double values specifies maximum allowed value.
    - `minValue` number, double: For integer and double values specifies minimum allowed value.
    - `paramId` string: Parameter identifier.
    - `recurse` boolean: Deprecated. This field has no effect.
    - `repeated` boolean: Deprecated. This field has no effect.
    - `required` boolean: Is parameter required.
    - `secretManagerAllowed` boolean: Output only. If true, the parameter value can be provided through Secret Manager.
    - `type` 'TYPE_UNSPECIFIED' | 'STRING' | 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'RECORD' | 'PLUS_PAGE' | 'LIST': Parameter type.
    - `validationDescription` string: Description of the requirements for this field, in case the user input does not fulfill the regex pattern or min/max values.
    - `validationHelpUrl` string: URL to a help document to further explain the naming requirements.
    - `validationRegex` string: Regular expression which can be used for parameter validation.
  - `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.

---

[API](https://skmtc.dev/google/apis/bigquerydatatransfer.md) - [All operations](https://skmtc.dev/google/apis/bigquerydatatransfer/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/bigquerydatatransfer/revisions/0de47e8db40e?raw)
