Reference documentation and code samples for the Google Cloud Vector Search V1 Client class Index.
Message describing Index object
Generated from protobuf message google.cloud.vectorsearch.v1.Index
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ dedicated_infrastructure
↳ dense_scann
↳ name
string
Identifier. name of resource
↳ display_name
string
Optional. User-specified display name of the index
↳ description
string
Optional. User-specified description of the index
↳ labels
↳ create_time
↳ update_time
↳ distance_metric
int
Optional. Distance metric used for indexing. If not specified, will default to DOT_PRODUCT.
↳ index_field
string
Required. The collection schema field to index.
↳ filter_fields
string[]
Optional. The fields to push into the index to enable fast ANN inline filtering.
↳ store_fields
string[]
Optional. The fields to push into the index to enable inline data retrieval.
getDedicatedInfrastructure
Optional. Dedicated infrastructure for the index.
hasDedicatedInfrastructure
setDedicatedInfrastructure
Optional. Dedicated infrastructure for the index.
$this
getDenseScann
Optional. Dense ScaNN index.
hasDenseScann
setDenseScann
Optional. Dense ScaNN index.
$this
getName
Identifier. name of resource
string
setName
Identifier. name of resource
var
string
$this
getDisplayName
Optional. User-specified display name of the index
string
setDisplayName
Optional. User-specified display name of the index
var
string
$this
getDescription
Optional. User-specified description of the index
string
setDescription
Optional. User-specified description of the index
var
string
$this
getLabels
Optional. Labels as key value pairs.
setLabels
Optional. Labels as key value pairs.
$this
getCreateTime
Output only. [Output only] Create time stamp
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create time stamp
$this
getUpdateTime
Output only. [Output only] Update time stamp
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update time stamp
$this
getDistanceMetric
Optional. Distance metric used for indexing. If not specified, will default to DOT_PRODUCT.
setDistanceMetric
Optional. Distance metric used for indexing. If not specified, will default to DOT_PRODUCT.
$this
getIndexField
Required. The collection schema field to index.
string
setIndexField
Required. The collection schema field to index.
var
string
$this
getFilterFields
Optional. The fields to push into the index to enable fast ANN inline filtering.
setFilterFields
Optional. The fields to push into the index to enable fast ANN inline filtering.
var
string[]
$this
getStoreFields
Optional. The fields to push into the index to enable inline data retrieval.
setStoreFields
Optional. The fields to push into the index to enable inline data retrieval.
var
string[]
$this
getInfraType
string
getIndexType
string

