Method: settings.datasources.get

Gets a datasource.

Note:This API requires an admin account to execute.

HTTP request

GET https://cloudsearch.googleapis.com/v1/settings/{name=datasources/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the datasource resource. Format: datasources/{sourceId}.

Query parameters

Parameters
debugOptions

object ( DebugOptions )

Common debug options.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud_search.settings.indexing
  • https://www.googleapis.com/auth/cloud_search.settings
  • https://www.googleapis.com/auth/cloud_search

For more information, see the Authorization guide .

Create a Mobile Website
View Site in Mobile | Classic
Share by: