Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScope

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

If chosen, the online evaluator will evaluate single traces matching specified filter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScope

Returns a new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScope.



32110
32111
32112
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32110

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

Instance Attribute Details

#filterArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityTraceScopePredicate>

Optional. A list of predicates to filter traces. Multiple predicates are combined using AND. The maximum number of predicates is 10. Corresponds to the JSON property filter



32108
32109
32110
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32108

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32115
32116
32117
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32115

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