Reference documentation and code samples for the Google Cloud Billing V1 Client class TierRate.
The price rate indicating starting usage and its corresponding price.
Generated from protobuf message google.cloud.billing.v1.PricingExpression.TierRate
Namespace
Google \ Cloud \ Billing \ V1 \ PricingExpressionMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ start_usage_amount
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.
↳ unit_price
Google\Type\Money
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
getStartUsageAmount
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.
float
setStartUsageAmount
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.
var
float
$this
getUnitPrice
The price per unit of usage.
Example: unit_price of amount $10 indicates that each unit will cost $10.
hasUnitPrice
clearUnitPrice
setUnitPrice
The price per unit of usage.
Example: unit_price of amount $10 indicates that each unit will cost $10.
$this