Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search.
- REST Resource: v1
- REST Resource: v1.debug.datasources.items
- REST Resource: v1.debug.datasources.items.unmappedids
- REST Resource: v1.debug.identitysources.items
- REST Resource: v1.debug.identitysources.unmappedids
- REST Resource: v1.indexing.datasources
- REST Resource: v1.indexing.datasources.items
- REST Resource: v1.media
- REST Resource: v1.operations
- REST Resource: v1.query
- REST Resource: v1.query.sources
- REST Resource: v1.settings
- REST Resource: v1.settings.datasources
- REST Resource: v1.settings.searchapplications
- REST Resource: v1.stats
- REST Resource: v1.stats.index.datasources
- REST Resource: v1.stats.query.searchapplications
- REST Resource: v1.stats.session.searchapplications
- REST Resource: v1.stats.user.searchapplications
Service: cloudsearch.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://cloudsearch.googleapis.com
REST Resource: v1
| Methods | |
|---|---|
| initializeCustomer | POST /v1:initializeCustomerEnables third partysupport in Google Cloud Search. | 
REST Resource: v1.debug.datasources.items
| Methods | |
|---|---|
| checkAccess | POST /v1/debug/{name=datasources/*/items/*}:checkAccessChecks whether an item is accessible by specified principal. | 
| searchByViewUrl | POST /v1/debug/{name=datasources/*}/items:searchByViewUrlFetches the item whose viewUrl exactly matches that of the URL provided in the request. | 
REST Resource: v1.debug.datasources.items.unmappedids
| Methods | |
|---|---|
| list | GET /v1/debug/{parent=datasources/*/items/*}/unmappedidsList all unmapped identities for a specific item. | 
REST Resource: v1.debug.identitysources.items
| Methods | |
|---|---|
| listForunmappedidentity | GET /v1/debug/{parent=identitysources/*}/items:forunmappedidentityLists names of items associated with an unmapped identity. | 
REST Resource: v1.debug.identitysources.unmappedids
| Methods | |
|---|---|
| list | GET /v1/debug/{parent=identitysources/*}/unmappedidsLists unmapped user identities for an identity source. | 
REST Resource: v1.indexing.datasources
| Methods | |
|---|---|
| deleteSchema | DELETE /v1/indexing/{name=datasources/*}/schemaDeletes the schema of a data source. | 
| getSchema | GET /v1/indexing/{name=datasources/*}/schemaGets the schema of a data source. | 
| updateSchema | PUT /v1/indexing/{name=datasources/*}/schemaUpdates the schema of a data source. | 
REST Resource: v1.indexing.datasources.items
| Methods | |
|---|---|
| delete | DELETE /v1/indexing/{name=datasources/*/items/*}Deletes Item resourcefor the specified resource name. | 
| deleteQueueItems | POST /v1/indexing/{name=datasources/*}/items:deleteQueueItemsDeletes all items in a queue. | 
| get | GET /v1/indexing/{name=datasources/*/items/*}Gets Item resourceby item name. | 
| index | POST /v1/indexing/{item.name=datasources/*/items/*}:indexUpdates ItemACL, metadata, and content. | 
| list | GET /v1/indexing/{name=datasources/*}/itemsLists all or a subset of Item resources. | 
| poll | POST /v1/indexing/{name=datasources/*}/items:pollPolls for unreserved items from the indexing queue and marks a set as reserved, starting with items that have the oldest timestamp from the highest priority ItemStatus. | 
| push | POST /v1/indexing/{item.name=datasources/*/items/*}:pushPushes an item onto a queue for later polling and updating. | 
| unreserve | POST /v1/indexing/{name=datasources/*}/items:unreserveUnreserves all items from a queue, making them all eligible to be polled. | 
| upload | POST /v1/indexing/{name=datasources/*/items/*}:uploadCreates an upload session for uploading item content. | 
REST Resource: v1.media
| Methods | |
|---|---|
| upload | POST /v1/media/{resourceName=**}POST /upload/v1/media/{resourceName=**}Uploads media for indexing. | 
REST Resource: v1.operations
| Methods | |
|---|---|
| get | GET /v1/{name=operations/**}Gets the latest state of a long-running operation. | 
REST Resource: v1.query
| Methods | |
|---|---|
| debugSearch | POST /v1/query:debugSearchReturns Debug information for Cloud Search Query API provides the search method. | 
| removeActivity | POST /v1/query:removeActivityProvides functionality to remove logged activity for a user. | 
| search | POST /v1/query/searchThe Cloud Search Query API provides the search method, which returns the most relevant results from a user query. | 
| suggest | POST /v1/query/suggestProvides suggestions for autocompleting the query. | 
REST Resource: v1.query.sources
| Methods | |
|---|---|
| list | GET /v1/query/sourcesReturns list of sources that user can use for Search and Suggest APIs. | 
REST Resource: v1.settings
| Methods | |
|---|---|
| getCustomer | GET /v1/settings/customerGet customer settings. | 
| updateCustomer | PATCH /v1/settings/customerUpdate customer settings. | 
REST Resource: v1.settings.datasources
| Methods | |
|---|---|
| create | POST /v1/settings/datasourcesCreates a datasource. | 
| delete | DELETE /v1/settings/{name=datasources/*}Deletes a datasource. | 
| get | GET /v1/settings/{name=datasources/*}Gets a datasource. | 
| list | GET /v1/settings/datasourcesLists datasources. | 
| patch | PATCH /v1/settings/{source.name=datasources/*}Updates a datasource. | 
| update | PUT /v1/settings/{source.name=datasources/*}Updates a datasource. | 
REST Resource: v1.settings.searchapplications
| Methods | |
|---|---|
| create | POST /v1/settings/searchapplicationsCreates a search application. | 
| delete | DELETE /v1/settings/{name=searchapplications/*}Deletes a search application. | 
| get | GET /v1/settings/{name=searchapplications/*}Gets the specified search application. | 
| list | GET /v1/settings/searchapplicationsLists all search applications. | 
| patch | PATCH /v1/settings/{searchApplication.name=searchapplications/*}Updates a search application. | 
| reset | POST /v1/settings/{name=searchapplications/*}:resetResets a search application to default settings. | 
| update | PUT /v1/settings/{searchApplication.name=searchapplications/*}Updates a search application. | 
REST Resource: v1.stats
| Methods | |
|---|---|
| getIndex | GET /v1/stats/indexGets indexed item statistics aggreggated across all data sources. | 
| getQuery | GET /v1/stats/queryGet the query statistics for customer. | 
| getSearchapplication | GET /v1/stats/searchapplicationGet search application stats for customer. | 
| getSession | GET /v1/stats/sessionGet the # of search sessions, % of successful sessions with a click query statistics for customer. | 
| getUser | GET /v1/stats/userGet the users statistics for customer. | 
REST Resource: v1.stats.index.datasources
| Methods | |
|---|---|
| get | GET /v1/stats/index/{name=datasources/*}Gets indexed item statistics for a single data source. | 
REST Resource: v1.stats.query.searchapplications
| Methods | |
|---|---|
| get | GET /v1/stats/query/{name=searchapplications/*}Get the query statistics for search application. | 
REST Resource: v1.stats.session.searchapplications
| Methods | |
|---|---|
| get | GET /v1/stats/session/{name=searchapplications/*}Get the # of search sessions, % of successful sessions with a click query statistics for search application. | 
REST Resource: v1.stats.user.searchapplications
| Methods | |
|---|---|
| get | GET /v1/stats/user/{name=searchapplications/*}Get the users statistics for search application. |