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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ vectors_count int|string

Output only. The number of vectors in the Index.

↳ shards_count int

Output only. The number of shards in the Index.

getVectorsCount

Output only. The number of vectors in the Index.

Returns
TypeDescription
int|string

setVectorsCount

Output only. The number of vectors in the Index.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getShardsCount

Output only. The number of shards in the Index.

Returns
TypeDescription
int

setShardsCount

Output only. The number of shards in the Index.

Parameter
NameDescription
var int
Returns
TypeDescription
$this