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

Represents price by resource type.

Attributes

  • price (type: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Price.t, default: nil) - Price of the Offer. Present if there are no price phases.
  • pricePhases (type: list(GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1PricePhase.t), default: nil) - Specifies the price by time range.
  • resourceType (type: String.t, default: nil) - Resource Type. Example: SEAT

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1PriceByResource{
  price: GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1Price.t() | nil,
  pricePhases:
    [GoogleApi.CloudChannel.V1.Model.GoogleCloudChannelV1PricePhase.t()] | nil,
  resourceType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.