Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate

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

Defines a predicate for filtering based on a numeric value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate

Returns a new instance of GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate.



28827
28828
28829
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28827

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)


28820
28821
28822
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28820

def comparison_operator
  @comparison_operator
end

#valueFloat

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

Returns:

  • (Float)


28825
28826
28827
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28825

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28832
28833
28834
28835
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28832

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