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.



30716
30717
30718
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30716

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

Instance Attribute Details

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

Corresponds to the JSON property metrics



30704
30705
30706
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30704

def metrics
  @metrics
end

#rule_outputGoogle::Apis::AiplatformV1::LearningGenaiRootRuleOutput

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



30709
30710
30711
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30709

def rule_output
  @rule_output
end

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

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



30714
30715
30716
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30714

def rule_outputs
  @rule_outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30721
30722
30723
30724
30725
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30721

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