Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate
- 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
-
#comparison_operator ⇒ String
Required.
-
#value ⇒ Float
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate
constructor
A new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate
Returns a new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate.
32135 32136 32137 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comparison_operator ⇒ String
Required. The comparison operator to apply.
Corresponds to the JSON property comparisonOperator
32128 32129 32130 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32128 def comparison_operator @comparison_operator end |
#value ⇒ Float
Required. The value to compare against.
Corresponds to the JSON property value
32133 32134 32135 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32133 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32140 32141 32142 32143 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32140 def update!(**args) @comparison_operator = args[:comparison_operator] if args.key?(:comparison_operator) @value = args[:value] if args.key?(:value) end |