POST /v1/indexing/datasources/{datasourcesId}/items/{itemsId}:push
Changed onPushes an item onto a queue for later polling and updating. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.
Request
- Base URLhttps://cloudsearch.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud_searchAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud_search
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud_search.indexingAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud_search.indexing
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Request body
The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}
Shared request debug options for all cloudsearch RPC methods.
Represents an item to be pushed to the indexing queue.
Response
Successful response
Represents a single object that is an item in the search index, such as a file, folder, or a database record.
Access control list information for the item. For more information see Map ACLs.
Content of an item to be indexed and surfaced by Cloud Search. Only UTF-8 encoded strings are allowed as inlineContent. If the content is uploaded and not binary, it must be UTF-8 encoded.
The type for this item.
Available metadata fields for the item.
The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters.
Additional state connector can store for this item. The maximum length is 10000 bytes.
Queue this item belongs to. The maximum length is 100 characters.
This contains item's status and any errors.
Available structured data fields for the item.
Required. The indexing system stores the version from the datasource as a byte string and compares the Item version in the index to the version of the queued Item using lexical ordering. Cloud Search Indexing won't index or delete any queued item with a version value that is less than or equal to the version of the currently indexed item. The maximum length for this field is 1024 bytes. For information on how item version affects the deletion process, refer to Handle revisions after manual deletes.
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud_searchwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud_searchwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud_search.indexingwas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info