Cloud Channel V1 API - Class Google::Cloud::Channel::V1::ParameterDefinition (v0.13.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::ParameterDefinition.

Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_values

def allowed_values() -> ::Array<::Google::Cloud::Channel::V1::Value>
Returns
  • (::Array<::Google::Cloud::Channel::V1::Value>) — If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.

#allowed_values=

def allowed_values=(value) -> ::Array<::Google::Cloud::Channel::V1::Value>
Parameter
  • value (::Array<::Google::Cloud::Channel::V1::Value>) — If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.
Returns
  • (::Array<::Google::Cloud::Channel::V1::Value>) — If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.

#max_value

def max_value() -> ::Google::Cloud::Channel::V1::Value
Returns
  • (::Google::Cloud::Channel::V1::Value) — Maximum value of the parameter, if applicable. Inclusive. For example, maximum seats when purchasing Google Workspace Business Standard. Applicable to INT64 and DOUBLE parameter types.

#max_value=

def max_value=(value) -> ::Google::Cloud::Channel::V1::Value
Parameter
  • value (::Google::Cloud::Channel::V1::Value) — Maximum value of the parameter, if applicable. Inclusive. For example, maximum seats when purchasing Google Workspace Business Standard. Applicable to INT64 and DOUBLE parameter types.
Returns
  • (::Google::Cloud::Channel::V1::Value) — Maximum value of the parameter, if applicable. Inclusive. For example, maximum seats when purchasing Google Workspace Business Standard. Applicable to INT64 and DOUBLE parameter types.

#min_value

def min_value() -> ::Google::Cloud::Channel::V1::Value
Returns
  • (::Google::Cloud::Channel::V1::Value) — Minimal value of the parameter, if applicable. Inclusive. For example, minimal commitment when purchasing Anthos is 0.01. Applicable to INT64 and DOUBLE parameter types.

#min_value=

def min_value=(value) -> ::Google::Cloud::Channel::V1::Value
Parameter
  • value (::Google::Cloud::Channel::V1::Value) — Minimal value of the parameter, if applicable. Inclusive. For example, minimal commitment when purchasing Anthos is 0.01. Applicable to INT64 and DOUBLE parameter types.
Returns
  • (::Google::Cloud::Channel::V1::Value) — Minimal value of the parameter, if applicable. Inclusive. For example, minimal commitment when purchasing Anthos is 0.01. Applicable to INT64 and DOUBLE parameter types.

#name

def name() -> ::String
Returns
  • (::String) — Name of the parameter.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the parameter.
Returns
  • (::String) — Name of the parameter.

#optional

def optional() -> ::Boolean
Returns
  • (::Boolean) — If set to true, parameter is optional to purchase this Offer.

#optional=

def optional=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, parameter is optional to purchase this Offer.
Returns
  • (::Boolean) — If set to true, parameter is optional to purchase this Offer.

#parameter_type

def parameter_type() -> ::Google::Cloud::Channel::V1::ParameterDefinition::ParameterType
Returns

#parameter_type=

def parameter_type=(value) -> ::Google::Cloud::Channel::V1::ParameterDefinition::ParameterType
Parameter
Returns