google_api_cloud_billing v0.7.0 GoogleApi.CloudBilling.V1.Model.TierRate View Source

The price rate indicating starting usage and its corresponding price.

Attributes

  • startUsageAmount (type: float(), default: nil) - Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.
  • unitPrice (type: GoogleApi.CloudBilling.V1.Model.Money.t, default: nil) - The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.CloudBilling.V1.Model.TierRate{
  startUsageAmount: float(),
  unitPrice: GoogleApi.CloudBilling.V1.Model.Money.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.