class Google::Apis::CloudbillingV1::AggregationInfo

Represents the aggregation level and interval for pricing of a single SKU.

Attributes

aggregation_count[RW]

The number of intervals to aggregate over. Example: If aggregation_level is “ DAILY” and aggregation_count is 14, aggregation will be over 14 days. Corresponds to the JSON property `aggregationCount` @return [Fixnum]

aggregation_interval[RW]

Corresponds to the JSON property `aggregationInterval` @return [String]

aggregation_level[RW]

Corresponds to the JSON property `aggregationLevel` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbilling_v1/classes.rb, line 45
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbilling_v1/classes.rb, line 50
def update!(**args)
  @aggregation_count = args[:aggregation_count] if args.key?(:aggregation_count)
  @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
  @aggregation_level = args[:aggregation_level] if args.key?(:aggregation_level)
end