Reference documentation and code samples for the Google Cloud Billing V1 Client class AggregationInfo.
Represents the aggregation level and interval for pricing of a single SKU.
Generated from protobuf message google.cloud.billing.v1.AggregationInfo
Namespace
Google \ Cloud \ Billing \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ aggregation_level
int
↳ aggregation_interval
int
↳ aggregation_count
int
The number of intervals to aggregate over. Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days.
getAggregationLevel
Generated from protobuf field .google.cloud.billing.v1.AggregationInfo.AggregationLevel aggregation_level = 1;
int
setAggregationLevel
Generated from protobuf field .google.cloud.billing.v1.AggregationInfo.AggregationLevel aggregation_level = 1;
var
int
$this
getAggregationInterval
Generated from protobuf field .google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2;
int
setAggregationInterval
Generated from protobuf field .google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2;
var
int
$this
getAggregationCount
The number of intervals to aggregate over.
Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days.
int
setAggregationCount
The number of intervals to aggregate over.
Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days.
var
int
$this