Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate
- 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
-
#comparison_operator ⇒ String
Required.
-
#value ⇒ Float
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate
constructor
A new instance of GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate
Returns a new instance of GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate.
28339 28340 28341 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comparison_operator ⇒ String
Required. The comparison operator to apply.
Corresponds to the JSON property comparisonOperator
28332 28333 28334 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28332 def comparison_operator @comparison_operator end |
#value ⇒ Float
Required. The value to compare against.
Corresponds to the JSON property value
28337 28338 28339 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28337 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
28344 28345 28346 28347 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28344 def update!(**args) @comparison_operator = args[:comparison_operator] if args.key?(:comparison_operator) @value = args[:value] if args.key?(:value) end |