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.



29112
29113
29114
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29112

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

Instance Attribute Details

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

Corresponds to the JSON property metrics



29100
29101
29102
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29100

def metrics
  @metrics
end

#rule_outputGoogle::Apis::AiplatformV1::LearningGenaiRootRuleOutput

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



29105
29106
29107
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29105

def rule_output
  @rule_output
end

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

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



29110
29111
29112
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29110

def rule_outputs
  @rule_outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29117
29118
29119
29120
29121
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29117

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