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 \ PricingExpression
Methods
__construct
Constructor.
Parameters
Name
Description
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Billing V1 Client - Class TierRate (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-billing/latest/V1.PricingExpression.TierRate)\n- [2.1.2](/php/docs/reference/cloud-billing/2.1.2/V1.PricingExpression.TierRate)\n- [2.0.1](/php/docs/reference/cloud-billing/2.0.1/V1.PricingExpression.TierRate)\n- [1.9.8](/php/docs/reference/cloud-billing/1.9.8/V1.PricingExpression.TierRate)\n- [1.8.0](/php/docs/reference/cloud-billing/1.8.0/V1.PricingExpression.TierRate)\n- [1.7.5](/php/docs/reference/cloud-billing/1.7.5/V1.PricingExpression.TierRate)\n- [1.6.0](/php/docs/reference/cloud-billing/1.6.0/V1.PricingExpression.TierRate)\n- [1.5.6](/php/docs/reference/cloud-billing/1.5.6/V1.PricingExpression.TierRate) \nReference documentation and code samples for the Google Cloud Billing V1 Client class TierRate.\n\nThe price rate indicating starting usage and its corresponding price.\n\nGenerated from protobuf message `google.cloud.billing.v1.PricingExpression.TierRate`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Billing \\\\ V1 \\\\ PricingExpression\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartUsageAmount\n\nUsage is priced at this rate only after this amount.\n\nExample: start_usage_amount of 10 indicates that the usage will be priced\nat the unit_price after the first 10 usage_units.\n\n### setStartUsageAmount\n\nUsage is priced at this rate only after this amount.\n\nExample: start_usage_amount of 10 indicates that the usage will be priced\nat the unit_price after the first 10 usage_units.\n\n### getUnitPrice\n\nThe price per unit of usage.\n\nExample: unit_price of amount $10 indicates that each unit will cost $10.\n\n### hasUnitPrice\n\n### clearUnitPrice\n\n### setUnitPrice\n\nThe price per unit of usage.\n\nExample: unit_price of amount $10 indicates that each unit will cost $10."]]