public sealed class MetricSpec : IMessage<StudySpec.Types.MetricSpec>, IEquatable<StudySpec.Types.MetricSpec>, IDeepCloneable<StudySpec.Types.MetricSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1 API class StudySpec.Types.MetricSpec.
Represents a metric to optimize.
Implements
IMessage<StudySpec.Types.MetricSpec>, IEquatable<StudySpec.Types.MetricSpec>, IDeepCloneable<StudySpec.Types.MetricSpec>, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
MetricSpec()
public MetricSpec()
MetricSpec(StudySpec.Types.MetricSpec)
public MetricSpec(StudySpec.Types.MetricSpec other)
Parameter | |
---|---|
Name | Description |
other | StudySpec.Types.MetricSpec |
Properties
Goal
public StudySpec.Types.MetricSpec.Types.GoalType Goal { get; set; }
Required. The optimization goal of the metric.
Property Value | |
---|---|
Type | Description |
StudySpec.Types.MetricSpec.Types.GoalType |
MetricId
public string MetricId { get; set; }
Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.
Property Value | |
---|---|
Type | Description |
String |