Method: indexing.datasources.getSchema

Gets the schema of a data source.

Note: This API requires an admin or service account to execute.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the data source to get Schema. 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 Schema.

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.