Cloud AI Platform v1 API - Class StudySpec.Types.ParameterSpec (2.10.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class StudySpec.Types.ParameterSpec.

Represents a single parameter to optimize.

Inheritance

object > StudySpec.Types.ParameterSpec

Namespace

GoogleCloudGoogle.Cloud.AIPlatformV1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ParameterSpec()

public ParameterSpec()

ParameterSpec(ParameterSpec)

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

Properties

CategoricalValueSpec

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

The value spec for a 'CATEGORICAL' parameter.

Property Value
TypeDescription
StudySpecTypesParameterSpecTypesCategoricalValueSpec

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
RepeatedFieldStudySpecTypesParameterSpecTypesConditionalParameterSpec

DiscreteValueSpec

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

The value spec for a 'DISCRETE' parameter.

Property Value
TypeDescription
StudySpecTypesParameterSpecTypesDiscreteValueSpec

DoubleValueSpec

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

The value spec for a 'DOUBLE' parameter.

Property Value
TypeDescription
StudySpecTypesParameterSpecTypesDoubleValueSpec

IntegerValueSpec

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

The value spec for an 'INTEGER' parameter.

Property Value
TypeDescription
StudySpecTypesParameterSpecTypesIntegerValueSpec

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
StudySpecTypesParameterSpecParameterValueSpecOneofCase

ScaleType

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

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

Property Value
TypeDescription
StudySpecTypesParameterSpecTypesScaleType