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.



29600
29601
29602
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29600

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

Instance Attribute Details

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

Corresponds to the JSON property metrics



29588
29589
29590
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29588

def metrics
  @metrics
end

#rule_outputGoogle::Apis::AiplatformV1::LearningGenaiRootRuleOutput

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



29593
29594
29595
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29593

def rule_output
  @rule_output
end

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

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



29598
29599
29600
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29598

def rule_outputs
  @rule_outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29605
29606
29607
29608
29609
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29605

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