Item
import type { Item } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";
Represents a single object that is an item in the search index, such as a file, folder, or a database record.
§Properties
Item content to be indexed and made text searchable.
The type for this item.
The metadata information.
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.
Status of the item. Output only field.
The structured data for the item that should conform to a registered object definition in the schema for the data source.
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.