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.



29845
29846
29847
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29845

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

Instance Attribute Details

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

Corresponds to the JSON property metrics



29833
29834
29835
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29833

def metrics
  @metrics
end

#rule_outputGoogle::Apis::AiplatformV1::LearningGenaiRootRuleOutput

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



29838
29839
29840
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29838

def rule_output
  @rule_output
end

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

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



29843
29844
29845
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29843

def rule_outputs
  @rule_outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29850
29851
29852
29853
29854
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29850

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