Method: indexing.datasources.items.deleteQueueItems

Deletes all items in a queue. This method is useful for deleting stale items.

HTTP request

POST https://cloudsearch.googleapis.com/v1/indexing/{name=datasources/*}/items:deleteQueueItems

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Name of the Data Source to delete items in a queue. Format: datasources/{source_id}

Request body

The request body contains data with the following structure:

JSON representation
{
  "connectorName": string,
  "queue": string,
  "debugOptions": {
    object(DebugOptions)
  }
}
Fields
connectorName

string

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

queue

string

Name of a queue to delete items from.

debugOptions

object(DebugOptions)

Common debug options.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud_search.indexing
  • https://www.googleapis.com/auth/cloud_search

For more information, see the OAuth 2.0 Overview.

Try it!

Send feedback about...

Cloud Search
Cloud Search