Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate

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

Defines a predicate for filtering based on a numeric value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate

Returns a new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate.



37007
37008
37009
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37007

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

Instance Attribute Details

#comparison_operatorString

Required. The comparison operator to apply. Corresponds to the JSON property comparisonOperator

Returns:

  • (String)


37000
37001
37002
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37000

def comparison_operator
  @comparison_operator
end

#valueFloat

Required. The value to compare against. Corresponds to the JSON property value

Returns:

  • (Float)


37005
37006
37007
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37005

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37012
37013
37014
37015
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37012

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