Class ParameterDefinition (1.15.1)

ParameterDefinition(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
name str
Name of the parameter.
parameter_type google.cloud.channel_v1.types.ParameterDefinition.ParameterType
Data type of the parameter. Minimal value, Maximum value and allowed values will use specified data type here.
min_value google.cloud.channel_v1.types.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.
max_value google.cloud.channel_v1.types.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.
allowed_values MutableSequence[google.cloud.channel_v1.types.Value]
If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.
optional bool
If set to true, parameter is optional to purchase this Offer.

Classes

ParameterType

ParameterType(value)

Data type of the parameter.

Values: PARAMETER_TYPE_UNSPECIFIED (0): Not used. INT64 (1): Int64 type. STRING (2): String type. DOUBLE (3): Double type.