pub struct GoogleCloudChannelV1ParameterDefinition {
pub allowed_values: Option<Vec<GoogleCloudChannelV1Value>>,
pub max_value: Option<GoogleCloudChannelV1Value>,
pub min_value: Option<GoogleCloudChannelV1Value>,
pub name: Option<String>,
pub optional: Option<bool>,
pub parameter_type: Option<String>,
}Expand description
Parameter’s definition. Specifies what parameter is required to use the current Offer to purchase.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowed_values: Option<Vec<GoogleCloudChannelV1Value>>If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, …] Applicable to STRING parameter type.
max_value: Option<GoogleCloudChannelV1Value>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: Option<GoogleCloudChannelV1Value>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: Option<String>Name of the parameter.
optional: Option<bool>If set to true, parameter is optional to purchase this Offer.
parameter_type: Option<String>Data type of the parameter. Minimal value, Maximum value and allowed values will use specified data type here.
Trait Implementations§
Source§impl Clone for GoogleCloudChannelV1ParameterDefinition
impl Clone for GoogleCloudChannelV1ParameterDefinition
Source§fn clone(&self) -> GoogleCloudChannelV1ParameterDefinition
fn clone(&self) -> GoogleCloudChannelV1ParameterDefinition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more