Google Cloud Billing V1 Client - Class AggregationInfo (1.9.8)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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;

Returns
Type
Description
int

setAggregationLevel

Generated from protobuf field .google.cloud.billing.v1.AggregationInfo.AggregationLevel aggregation_level = 1;

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getAggregationInterval

Generated from protobuf field .google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2;

Returns
Type
Description
int

setAggregationInterval

Generated from protobuf field .google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2;

Parameter
Name
Description
var
int
Returns
Type
Description
$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.

Returns
Type
Description
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.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: