Method: settings.datasources.get

Gets a data source.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Name of the data source resource. Format: datasources/{source_id}.

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 OAuth 2.0 Overview.

Try it!

Send feedback about...

Cloud Search
Cloud Search