Resource: Index
A representation of a collection of database items organized in a way that allows for approximate nearest neighbor (a.k.a ANN) algorithms search.
name 
 
  string 
 
Output only. The resource name of the Index.
displayName 
 
  string 
 
Required. The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.
description 
 
  string 
 
The description of the Index.
deployedIndexes[] 
 
  object (  DeployedIndexRef 
 
) 
 
Output only. The pointers to DeployedIndexes created from this Index. An Index can be only deleted if all its DeployedIndexes had been undeployed first.
etag 
 
  string 
 
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
labels 
 
  map (key: string, value: string) 
 
The labels with user-defined metadata to organize your Indexes.
label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.
See https://goo.gl/xmQnxf for more information and examples of labels.
createTime 
 
  string (  Timestamp 
 
format) 
 
Output only. timestamp when this Index was created.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" 
, "2014-10-02T15:01:23.045123456Z" 
or "2014-10-02T15:01:23+05:30" 
.
updateTime 
 
  string (  Timestamp 
 
format) 
 
Output only. timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time 
a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. result of any successfully completed Operation on the Index is reflected in it.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" 
, "2014-10-02T15:01:23.045123456Z" 
or "2014-10-02T15:01:23+05:30" 
.
indexStats 
 
  object (  IndexStats 
 
) 
 
Output only. Stats of the index resource.
indexUpdateMethod 
 
  enum (  IndexUpdateMethod 
 
) 
 
Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be used by default.
encryptionSpec 
 
  object (  EncryptionSpec 
 
) 
 
Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key.
satisfiesPzs 
 
  boolean 
 
Output only. reserved for future use.
satisfiesPzi 
 
  boolean 
 
Output only. reserved for future use.
| JSON representation | 
|---|
| { "name" : string , "displayName" : string , "description" : string , "metadataSchemaUri" : string , "metadata" : value , "deployedIndexes" : [ { object ( | 
DeployedIndexRef
Points to a DeployedIndex.
indexEndpoint 
 
  string 
 
Immutable. A resource name of the IndexEndpoint.
deployedIndexId 
 
  string 
 
Immutable. The id of the DeployedIndex in the above IndexEndpoint.
displayName 
 
  string 
 
Output only. The display name of the DeployedIndex.
| JSON representation | 
|---|
| { "indexEndpoint" : string , "deployedIndexId" : string , "displayName" : string } | 
IndexStats
Stats of the Index.
vectorsCount 
 
  string ( int64 
format) 
 
Output only. The number of dense vectors in the Index.
sparseVectorsCount 
 
  string ( int64 
format) 
 
Output only. The number of sparse vectors in the Index.
shardsCount 
 
  integer 
 
Output only. The number of shards in the Index.
| JSON representation | 
|---|
| { "vectorsCount" : string , "sparseVectorsCount" : string , "shardsCount" : integer } | 
IndexUpdateMethod
The update method of an Index.
| Enums | |
|---|---|
| INDEX_UPDATE_METHOD_UNSPECIFIED | Should not be used. | 
| BATCH_UPDATE | BatchUpdate: user can call indexes.patch with files on Cloud Storage of Datapoints to update. | 
| STREAM_UPDATE | StreamUpdate: user can call indexes.upsertDatapoints/DeleteDatapoints to update the Index and the updates will be applied in corresponding DeployedIndexes in nearly real-time. | 
| Methods | |
|---|---|
|   | Creates an Index. | 
|   | Deletes an Index. | 
|   | Gets an Index. | 
|   | Imports an Index from an external source (e.g., BigQuery). | 
|   | Lists Indexes in a Location. | 
|   | Updates an Index. | 
|   | Remove Datapoints from an Index. | 
|   | Add/update Datapoints into an Index. | 

