Method: projects.locations.exampleStores.removeExamples

Remove Examples from the Example Store.

Endpoint

post https://{service-endpoint}/v1beta1/{exampleStore}:removeExamples

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

exampleStore string

Required. The name of the ExampleStore resource that the examples should be removed from. Format: projects/{project}/locations/{location}/exampleStores/{exampleStore}

Request body

The request body contains data with the following structure:

Fields
exampleIds[] string

Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed.

metadata_filter Union type
The metadata filters that will be used to select which examples should be removed. metadata_filter can be only one of the following:
storedContentsExampleFilter object (StoredContentsExampleFilter)

The metadata filters for StoredContentsExamples.

Response body

Response message for ExampleStoreService.RemoveExamples.

If successful, the response body contains data with the following structure:

Fields
exampleIds[] string

The IDs for the removed examples.

JSON representation
{
  "exampleIds": [
    string
  ]
}