Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec (v0.44.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec.

Represents a single parameter to optimize.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#categorical_value_spec

def categorical_value_spec() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::CategoricalValueSpec
Returns

#categorical_value_spec=

def categorical_value_spec=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::CategoricalValueSpec
Parameter
Returns

#conditional_parameter_specs

def conditional_parameter_specs() -> ::Array<::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec>
Returns

#conditional_parameter_specs=

def conditional_parameter_specs=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ConditionalParameterSpec>
Parameter
Returns

#discrete_value_spec

def discrete_value_spec() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DiscreteValueSpec
Returns

#discrete_value_spec=

def discrete_value_spec=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DiscreteValueSpec
Parameter
Returns

#double_value_spec

def double_value_spec() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DoubleValueSpec
Returns

#double_value_spec=

def double_value_spec=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::DoubleValueSpec
Parameter
Returns

#integer_value_spec

def integer_value_spec() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::IntegerValueSpec
Returns

#integer_value_spec=

def integer_value_spec=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::IntegerValueSpec
Parameter
Returns

#parameter_id

def parameter_id() -> ::String
Returns
  • (::String) — Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.

#parameter_id=

def parameter_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
Returns
  • (::String) — Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.

#scale_type

def scale_type() -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ScaleType
Returns

#scale_type=

def scale_type=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::ScaleType
Parameter
Returns