Class: Google::Cloud::Billing::V1::PricingExpression::TierRate

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/billing/v1/cloud_catalog.rb

Overview

The price rate indicating starting usage and its corresponding price.

Instance Attribute Summary collapse

Instance Attribute Details

#start_usage_amount::Float

Returns 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.

Returns:

  • (::Float)

    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.



196
197
198
199
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 196

class TierRate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#unit_price::Google::Type::Money

Returns The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.

Returns:

  • (::Google::Type::Money)

    The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.



196
197
198
199
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 196

class TierRate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end