Method: indexing.datasources.getSchema

Gets the schema of a data source.

Note: This API requires a 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

Name of the data source to get Schema. 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 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 OAuth 2.0 Overview.

Try it!