Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket

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

Dataset bucket used to create a histogram for the distribution given a population of values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket

Returns a new instance of GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket.



4933
4934
4935
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4933

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

Instance Attribute Details

#countFixnum

Output only. Number of values in the bucket. Corresponds to the JSON property count

Returns:

  • (Fixnum)


4921
4922
4923
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4921

def count
  @count
end

#leftFloat

Output only. Left bound of the bucket. Corresponds to the JSON property left

Returns:

  • (Float)


4926
4927
4928
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4926

def left
  @left
end

#rightFloat

Output only. Right bound of the bucket. Corresponds to the JSON property right

Returns:

  • (Float)


4931
4932
4933
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4931

def right
  @right
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4938
4939
4940
4941
4942
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4938

def update!(**args)
  @count = args[:count] if args.key?(:count)
  @left = args[:left] if args.key?(:left)
  @right = args[:right] if args.key?(:right)
end