Method: projects.dataSources.checkValidCreds

Returns true if valid credentials exist for the given data source and requesting user. Some data sources doesn't support service account, so we need to talk to them on behalf of the end user. This API just checks whether we have OAuth token for the particular user, which is a pre-requisite before user can create a transfer config.

HTTP request


The URL uses Google API HTTP annotation syntax.

Path parameters



The data source in the form: projects/{projectId}/dataSources/{dataSourceId}

Authorization requires the following Google IAM permission on the specified resource name:

  • bigquery.transfers.get

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

Try it!

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...