Class StudySpec.Types.ParameterSpec (2.3.0)

public sealed class ParameterSpec : IMessage<StudySpec.Types.ParameterSpec>, IEquatable<StudySpec.Types.ParameterSpec>, IDeepCloneable<StudySpec.Types.ParameterSpec>, IBufferMessage, IMessage

Represents a single parameter to optimize.

Inheritance

Object > StudySpec.Types.ParameterSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ParameterSpec()

public ParameterSpec()

ParameterSpec(StudySpec.Types.ParameterSpec)

public ParameterSpec(StudySpec.Types.ParameterSpec other)
Parameter
NameDescription
otherStudySpec.Types.ParameterSpec

Properties

CategoricalValueSpec

public StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec CategoricalValueSpec { get; set; }

The value spec for a 'CATEGORICAL' parameter.

Property Value
TypeDescription
StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec

ConditionalParameterSpecs

public RepeatedField<StudySpec.Types.ParameterSpec.Types.ConditionalParameterSpec> ConditionalParameterSpecs { get; }

A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.

If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.

Property Value
TypeDescription
RepeatedField<StudySpec.Types.ParameterSpec.Types.ConditionalParameterSpec>

DiscreteValueSpec

public StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec DiscreteValueSpec { get; set; }

The value spec for a 'DISCRETE' parameter.

Property Value
TypeDescription
StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec

DoubleValueSpec

public StudySpec.Types.ParameterSpec.Types.DoubleValueSpec DoubleValueSpec { get; set; }

The value spec for a 'DOUBLE' parameter.

Property Value
TypeDescription
StudySpec.Types.ParameterSpec.Types.DoubleValueSpec

IntegerValueSpec

public StudySpec.Types.ParameterSpec.Types.IntegerValueSpec IntegerValueSpec { get; set; }

The value spec for an 'INTEGER' parameter.

Property Value
TypeDescription
StudySpec.Types.ParameterSpec.Types.IntegerValueSpec

ParameterId

public string ParameterId { get; set; }

Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.

Property Value
TypeDescription
String

ParameterValueSpecCase

public StudySpec.Types.ParameterSpec.ParameterValueSpecOneofCase ParameterValueSpecCase { get; }
Property Value
TypeDescription
StudySpec.Types.ParameterSpec.ParameterValueSpecOneofCase

ScaleType

public StudySpec.Types.ParameterSpec.Types.ScaleType ScaleType { get; set; }

How the parameter should be scaled. Leave unset for CATEGORICAL parameters.

Property Value
TypeDescription
StudySpec.Types.ParameterSpec.Types.ScaleType