Class Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec (v0.1.0)

Represents a metric to optimize.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#goal

def goal() -> ::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::GoalType
Returns

#goal=

def goal=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::GoalType
Parameter
Returns

#metric_id

def metric_id() -> ::String
Returns
  • (::String) — Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.

#metric_id=

def metric_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.
Returns
  • (::String) — Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.