Skip to main content

collections

Creates, updates, deletes, gets or lists a collections resource.

Overview

Namecollections
TypeResource
Idgoogle.discoveryengine.collections

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_collections_deletedeleteprojectsId, locationsId, collectionsIdDeletes a Collection.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
collectionsIdstring
locationsIdstring
projectsIdstring

DELETE examples

Deletes a Collection.

DELETE FROM google.discoveryengine.collections
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND collectionsId = '{{ collectionsId }}' --required
;