Class: Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutputSummary

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LearningGenaiRootClassifierOutputSummary

Returns a new instance of LearningGenaiRootClassifierOutputSummary.



29962
29963
29964
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29962

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

Instance Attribute Details

#metricsArray<Google::Apis::AiplatformV1::LearningGenaiRootMetricOutput>

Corresponds to the JSON property metrics



29950
29951
29952
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29950

def metrics
  @metrics
end

#rule_outputGoogle::Apis::AiplatformV1::LearningGenaiRootRuleOutput

Output of the first matching rule. Corresponds to the JSON property ruleOutput



29955
29956
29957
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29955

def rule_output
  @rule_output
end

#rule_outputsArray<Google::Apis::AiplatformV1::LearningGenaiRootRuleOutput>

outputs of all matching rule. Corresponds to the JSON property ruleOutputs



29960
29961
29962
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29960

def rule_outputs
  @rule_outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29967
29968
29969
29970
29971
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29967

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