Class: Google::Cloud::Channel::V1::PriceTier
- Inherits:
-
Object
- Object
- Google::Cloud::Channel::V1::PriceTier
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/channel/v1/offers.rb
Overview
Defines price at resource tier level. For example, an offer with following definition :
- Tier 1: Provide 25% discount for all seats between 1 and 25.
- Tier 2: Provide 10% discount for all seats between 26 and 100.
- Tier 3: Provide flat 15% discount for all seats above 100.
Each of these tiers is represented as a PriceTier.
Instance Attribute Summary collapse
-
#first_resource ⇒ ::Integer
First resource for which the tier price applies.
-
#last_resource ⇒ ::Integer
Last resource for which the tier price applies.
-
#price ⇒ ::Google::Cloud::Channel::V1::Price
Price of the tier.
Instance Attribute Details
#first_resource ⇒ ::Integer
Returns First resource for which the tier price applies.
239 240 241 242 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 239 class PriceTier include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |