Method: settings.datasources.list

Lists datasources.

HTTP request

GET https://cloudsearch.googleapis.com/v1/settings/datasources

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
pageToken

string

Starting index of the results.

pageSize

number

Maximum number of datasources to fetch in a request. The max value is 100.
The default value is 10

debugOptions

object(DebugOptions)

Common debug options.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "sources": [
    {
      object(DataSource)
    }
  ],
  "nextPageToken": string
}
Fields
sources[]

object(DataSource)

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results in the list.

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.

Skicka feedback om ...