v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1344223223.6 KB
indexing

Deletes Item resource for the specified resource name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source.

delete/v1/indexing/{+name}

Path parameters

namestring required

Required. The name of the item to delete. Format: datasources/{source_id}/items/{item_id}

Query parameters

connectorNamestring

The name of connector making this call. Format: datasources/{source_id}/connectors/{ID}

debugOptions.enableDebuggingboolean

If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field.

mode'UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS'

Required. The RequestMode for this request.

versionstring

Required. The incremented version of the item to delete from the index. 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 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.

Response

Successful response