- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
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 | 
                
                   
 The name of the data source to get Schema. Format: datasources/{sourceId}  | 
              
Query parameters
| Parameters | |
|---|---|
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.indexinghttps://www.googleapis.com/auth/cloud_search.settingshttps://www.googleapis.com/auth/cloud_search
For more information, see the Authorization guide.