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.
Returns | |
---|---|
Type | Description |
int|string |
setVectorsCount
Output only. The number of 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 |