Cloud AI Platform v1 API - Class MetricxSpec (3.12.0)

public sealed class MetricxSpec : IMessage<MetricxSpec>, IEquatable<MetricxSpec>, IDeepCloneable<MetricxSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class MetricxSpec.

Spec for MetricX metric.

Inheritance

object > MetricxSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MetricxSpec()

public MetricxSpec()

MetricxSpec(MetricxSpec)

public MetricxSpec(MetricxSpec other)
Parameter
Name Description
other MetricxSpec

Properties

HasVersion

public bool HasVersion { get; }

Gets whether the "version" field is set

Property Value
Type Description
bool

SourceLanguage

public string SourceLanguage { get; set; }

Optional. Source language in BCP-47 format.

Property Value
Type Description
string

TargetLanguage

public string TargetLanguage { get; set; }

Optional. Target language in BCP-47 format. Covers both prediction and reference.

Property Value
Type Description
string

Version

public MetricxSpec.Types.MetricxVersion Version { get; set; }

Required. Which version to use for evaluation.

Property Value
Type Description
MetricxSpecTypesMetricxVersion