Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexStats
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Stats of the Index.
Instance Attribute Summary collapse
-
#shards_count ⇒ Fixnum
Output only.
-
#vectors_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1IndexStats
constructor
A new instance of GoogleCloudAiplatformV1beta1IndexStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1IndexStats
Returns a new instance of GoogleCloudAiplatformV1beta1IndexStats.
9223 9224 9225 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#shards_count ⇒ Fixnum
Output only. The number of shards in the Index.
Corresponds to the JSON property shardsCount
9216 9217 9218 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9216 def shards_count @shards_count end |
#vectors_count ⇒ Fixnum
Output only. The number of vectors in the Index.
Corresponds to the JSON property vectorsCount
9221 9222 9223 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9221 def vectors_count @vectors_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9228 9229 9230 9231 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9228 def update!(**args) @shards_count = args[:shards_count] if args.key?(:shards_count) @vectors_count = args[:vectors_count] if args.key?(:vectors_count) end |