Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexStats

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1IndexStats

Returns a new instance of GoogleCloudAiplatformV1beta1IndexStats.



12995
12996
12997
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12995

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#shards_countFixnum

Output only. The number of shards in the Index. Corresponds to the JSON property shardsCount

Returns:

  • (Fixnum)


12988
12989
12990
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12988

def shards_count
  @shards_count
end

#vectors_countFixnum

Output only. The number of vectors in the Index. Corresponds to the JSON property vectorsCount

Returns:

  • (Fixnum)


12993
12994
12995
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12993

def vectors_count
  @vectors_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13000
13001
13002
13003
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13000

def update!(**args)
  @shards_count = args[:shards_count] if args.key?(:shards_count)
  @vectors_count = args[:vectors_count] if args.key?(:vectors_count)
end