View Source GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ParameterDefinition (google_api_cloud_channel v0.6.1)

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

Attributes

  • allowedValues (type: list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Value.t), default: nil) - If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.
  • maxValue (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Value.t, default: nil) - 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.
  • minValue (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Value.t, default: nil) - 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 (type: String.t, default: nil) - Name of the parameter.
  • optional (type: boolean(), default: nil) - If set to true, parameter is optional to purchase this Offer.
  • parameterType (type: String.t, default: nil) - Data type of the parameter. Minimal value, Maximum value and allowed values will use specified data type here.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1ParameterDefinition{
  allowedValues:
    [GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Value.t()] | nil,
  maxValue: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Value.t() | nil,
  minValue: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Value.t() | nil,
  name: String.t() | nil,
  optional: boolean() | nil,
  parameterType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.