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
Name
Description
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
Type
Description
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
Name
Description
var
int|string
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: