Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec (v0.59.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec.

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::NasJobSpec::MultiTrialAlgorithmSpec::MetricSpec::GoalType
Returns

#goal=

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

#metric_id

def metric_id() -> ::String
Returns
  • (::String) — Required. The ID of the metric. Must not contain whitespaces.

#metric_id=

def metric_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the metric. Must not contain whitespaces.
Returns
  • (::String) — Required. The ID of the metric. Must not contain whitespaces.