REST Resource: projects.locations.indexes

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.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "metadataSchemaUri": string,
  "metadata": value,
  "deployedIndexes": [
    {
      object (DeployedIndexRef)
    }
  ],
  "etag": string,
  "labels": {
    string: string,
    ...
  },
  "createTime": string,
  "updateTime": string
}
Fields
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 be consist of any UTF-8 characters.

description

string

The description of the Index.

metadataSchemaUri

string

Immutable. Points to a YAML file stored on Google Cloud Storage describing additional information about the Index, that is specific to it. Unset if the Index does not have any additional information. The schema is defined as an OpenAPI 3.0.2 Schema Object. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.

metadata

value (Value format)

An additional information about the Index; the schema of the metadata can be found in metadataSchema.

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.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

DeployedIndexRef

Points to a DeployedIndex.

JSON representation
{
  "indexEndpoint": string,
  "deployedIndexId": string
}
Fields
indexEndpoint

string

Immutable. A resource name of the IndexEndpoint.

deployedIndexId

string

Immutable. The ID of the DeployedIndex in the above IndexEndpoint.

Methods

create

Creates an Index.

delete

Deletes an Index.

get

Gets an Index.

list

Lists Indexes in a Location.

patch

Updates an Index.