Google Cloud Ai Platform V1 Client - Class IndexStats (0.10.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

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.

Generated from protobuf field int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int|string

setVectorsCount

Output only. The number of vectors in the Index.

Generated from protobuf field int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getShardsCount

Output only. The number of shards in the Index.

Generated from protobuf field int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

setShardsCount

Output only. The number of shards in the Index.

Generated from protobuf field int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int
Returns
TypeDescription
$this