Class: Aws::AppMonetization::Types::MetricUsage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb

Overview

A single metric's raw usage over the window.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_id ⇒ String

The metric this usage is for.

Returns:

  • (String)


3838
3839
3840
3841
3842
3843
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3838

class MetricUsage < Struct.new(
  :metric_id,
  :quantity)
  SENSITIVE = []
  include Aws::Structure
end

#quantity ⇒ String

The metric's usage over the window, as a plain decimal string (for example, "1500" or "12.5"). For a SUM or COUNT metric this is the total; for a MAX metric it is the largest value recorded. Within a fixed window the value can only grow, as late-arriving events are counted.

Returns:

  • (String)


3838
3839
3840
3841
3842
3843
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3838

class MetricUsage < Struct.new(
  :metric_id,
  :quantity)
  SENSITIVE = []
  include Aws::Structure
end