Google Cloud Ai Platform V1 Client - Class IndexStats (1.13.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class IndexStats.

Stats of the Index.

Generated from protobuf message google.cloud.aiplatform.v1.IndexStats

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ vectors_count int|string

Output only. The number of dense vectors in the Index.

↳ sparse_vectors_count int|string

Output only. The number of sparse vectors in the Index.

↳ shards_count int

Output only. The number of shards in the Index.

getVectorsCount

Output only. The number of dense vectors in the Index.

Returns
Type Description
int|string

setVectorsCount

Output only. The number of dense vectors in the Index.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getSparseVectorsCount

Output only. The number of sparse vectors in the Index.

Returns
Type Description
int|string

setSparseVectorsCount

Output only. The number of sparse vectors in the Index.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getShardsCount

Output only. The number of shards in the Index.

Returns
Type Description
int

setShardsCount

Output only. The number of shards in the Index.

Parameter
Name Description
var int
Returns
Type Description
$this