Class: Google::Cloud::Billing::V1::AggregationInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/billing/v1/cloud_catalog.rb

Overview

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

Defined Under Namespace

Modules: AggregationInterval, AggregationLevel

Instance Attribute Summary collapse

Instance Attribute Details

#aggregation_count::Integer

Returns 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:

  • (::Integer)

    The number of intervals to aggregate over. Example: If aggregation_level is "DAILY" and aggregation_count is 14, aggregation will be over 14 days.



212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 212

class AggregationInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The level at which usage is aggregated to compute cost.
  # Example: "ACCOUNT" aggregation level indicates that usage for tiered
  # pricing is aggregated across all projects in a single account.
  module AggregationLevel
    AGGREGATION_LEVEL_UNSPECIFIED = 0

    ACCOUNT = 1

    PROJECT = 2
  end

  # The interval at which usage is aggregated to compute cost.
  # Example: "MONTHLY" aggregation interval indicates that usage for tiered
  # pricing is aggregated every month.
  module AggregationInterval
    AGGREGATION_INTERVAL_UNSPECIFIED = 0

    DAILY = 1

    MONTHLY = 2
  end
end

#aggregation_interval::Google::Cloud::Billing::V1::AggregationInfo::AggregationInterval



212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 212

class AggregationInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The level at which usage is aggregated to compute cost.
  # Example: "ACCOUNT" aggregation level indicates that usage for tiered
  # pricing is aggregated across all projects in a single account.
  module AggregationLevel
    AGGREGATION_LEVEL_UNSPECIFIED = 0

    ACCOUNT = 1

    PROJECT = 2
  end

  # The interval at which usage is aggregated to compute cost.
  # Example: "MONTHLY" aggregation interval indicates that usage for tiered
  # pricing is aggregated every month.
  module AggregationInterval
    AGGREGATION_INTERVAL_UNSPECIFIED = 0

    DAILY = 1

    MONTHLY = 2
  end
end

#aggregation_level::Google::Cloud::Billing::V1::AggregationInfo::AggregationLevel



212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 212

class AggregationInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The level at which usage is aggregated to compute cost.
  # Example: "ACCOUNT" aggregation level indicates that usage for tiered
  # pricing is aggregated across all projects in a single account.
  module AggregationLevel
    AGGREGATION_LEVEL_UNSPECIFIED = 0

    ACCOUNT = 1

    PROJECT = 2
  end

  # The interval at which usage is aggregated to compute cost.
  # Example: "MONTHLY" aggregation interval indicates that usage for tiered
  # pricing is aggregated every month.
  module AggregationInterval
    AGGREGATION_INTERVAL_UNSPECIFIED = 0

    DAILY = 1

    MONTHLY = 2
  end
end