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.



14699
14700
14701
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14699

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)


14687
14688
14689
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14687

def shards_count
  @shards_count
end

#sparse_vectors_countFixnum

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

Returns:

  • (Fixnum)


14692
14693
14694
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14692

def sparse_vectors_count
  @sparse_vectors_count
end

#vectors_countFixnum

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

Returns:

  • (Fixnum)


14697
14698
14699
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14697

def vectors_count
  @vectors_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14704
14705
14706
14707
14708
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14704

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