Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexStats
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Stats of the Index.
Instance Attribute Summary collapse
-
#shards_count ⇒ Fixnum
Output only.
-
#sparse_vectors_count ⇒ Fixnum
Output only.
-
#vectors_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1IndexStats
constructor
A new instance of GoogleCloudAiplatformV1IndexStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1IndexStats
Returns a new instance of GoogleCloudAiplatformV1IndexStats.
12263 12264 12265 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12263 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
12251 12252 12253 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12251 def shards_count @shards_count end |
#sparse_vectors_count ⇒ Fixnum
Output only. The number of sparse vectors in the Index.
Corresponds to the JSON property sparseVectorsCount
12256 12257 12258 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12256 def sparse_vectors_count @sparse_vectors_count end |
#vectors_count ⇒ Fixnum
Output only. The number of dense vectors in the Index.
Corresponds to the JSON property vectorsCount
12261 12262 12263 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12261 def vectors_count @vectors_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12268 12269 12270 12271 12272 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12268 def update!(**args) @shards_count = args[:shards_count] if args.key?(:shards_count) @sparse_vectors_count = args[:sparse_vectors_count] if args.key?(:sparse_vectors_count) @vectors_count = args[:vectors_count] if args.key?(:vectors_count) end |