The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.
↳ summary
string
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
↳ currency_conversion_rate
float
Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY
getEffectiveTime
The timestamp from which this pricing was effective within the requested
time range. This is guaranteed to be greater than or equal to the
start_time field in the request and less than the end_time field in the
request. If a time range was not specified in the request this field will
be equivalent to a time within the last 12 hours, indicating the latest
pricing info.
The timestamp from which this pricing was effective within the requested
time range. This is guaranteed to be greater than or equal to the
start_time field in the request and less than the end_time field in the
request. If a time range was not specified in the request this field will
be equivalent to a time within the last 12 hours, indicating the latest
pricing info.
Conversion rate used for currency conversion, from USD to the currency
specified in the request. This includes any surcharge collected for billing
in non USD currency. If a currency is not specified in the request this
defaults to 1.0.
Example: USD * currency_conversion_rate = JPY
Returns
Type
Description
float
setCurrencyConversionRate
Conversion rate used for currency conversion, from USD to the currency
specified in the request. This includes any surcharge collected for billing
in non USD currency. If a currency is not specified in the request this
defaults to 1.0.
[[["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-04 UTC."],[],[],null,["# Google Cloud Billing V1 Client - Class PricingInfo (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-billing/latest/V1.PricingInfo)\n- [2.1.2](/php/docs/reference/cloud-billing/2.1.2/V1.PricingInfo)\n- [2.0.1](/php/docs/reference/cloud-billing/2.0.1/V1.PricingInfo)\n- [1.9.8](/php/docs/reference/cloud-billing/1.9.8/V1.PricingInfo)\n- [1.8.0](/php/docs/reference/cloud-billing/1.8.0/V1.PricingInfo)\n- [1.7.5](/php/docs/reference/cloud-billing/1.7.5/V1.PricingInfo)\n- [1.6.0](/php/docs/reference/cloud-billing/1.6.0/V1.PricingInfo)\n- [1.5.6](/php/docs/reference/cloud-billing/1.5.6/V1.PricingInfo) \nReference documentation and code samples for the Google Cloud Billing V1 Client class PricingInfo.\n\nRepresents the pricing information for a SKU at a single point of time.\n\nGenerated from protobuf message `google.cloud.billing.v1.PricingInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Billing \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEffectiveTime\n\nThe timestamp from which this pricing was effective within the requested\ntime range. This is guaranteed to be greater than or equal to the\nstart_time field in the request and less than the end_time field in the\nrequest. If a time range was not specified in the request this field will\nbe equivalent to a time within the last 12 hours, indicating the latest\npricing info.\n\n### hasEffectiveTime\n\n### clearEffectiveTime\n\n### setEffectiveTime\n\nThe timestamp from which this pricing was effective within the requested\ntime range. This is guaranteed to be greater than or equal to the\nstart_time field in the request and less than the end_time field in the\nrequest. If a time range was not specified in the request this field will\nbe equivalent to a time within the last 12 hours, indicating the latest\npricing info.\n\n### getSummary\n\nAn optional human readable summary of the pricing information, has a\nmaximum length of 256 characters.\n\n### setSummary\n\nAn optional human readable summary of the pricing information, has a\nmaximum length of 256 characters.\n\n### getPricingExpression\n\nExpresses the pricing formula. See `PricingExpression` for an example.\n\n### hasPricingExpression\n\n### clearPricingExpression\n\n### setPricingExpression\n\nExpresses the pricing formula. See `PricingExpression` for an example.\n\n### getAggregationInfo\n\nAggregation Info. This can be left unspecified if the pricing expression\ndoesn't require aggregation.\n\n### hasAggregationInfo\n\n### clearAggregationInfo\n\n### setAggregationInfo\n\nAggregation Info. This can be left unspecified if the pricing expression\ndoesn't require aggregation.\n\n### getCurrencyConversionRate\n\nConversion rate used for currency conversion, from USD to the currency\nspecified in the request. This includes any surcharge collected for billing\nin non USD currency. If a currency is not specified in the request this\ndefaults to 1.0.\n\nExample: USD \\* currency_conversion_rate = JPY\n\n### setCurrencyConversionRate\n\nConversion rate used for currency conversion, from USD to the currency\nspecified in the request. This includes any surcharge collected for billing\nin non USD currency. If a currency is not specified in the request this\ndefaults to 1.0.\n\nExample: USD \\* currency_conversion_rate = JPY"]]