Class: Aws::AppMonetization::Types::EntitlementMetricStatus

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

Overview

The quota status of a single metric for the period.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#included_quantity ⇒ Integer

The quantity included for the period, prorated after a mid-period plan change. Only metrics with a limit are listed.

Returns:

  • (Integer)


1897
1898
1899
1900
1901
1902
1903
1904
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1897

class EntitlementMetricStatus < Struct.new(
  :metric_id,
  :used_quantity,
  :included_quantity,
  :remaining_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#metric_id ⇒ String

The ID of the metric.

Returns:

  • (String)


1897
1898
1899
1900
1901
1902
1903
1904
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1897

class EntitlementMetricStatus < Struct.new(
  :metric_id,
  :used_quantity,
  :included_quantity,
  :remaining_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#remaining_quantity ⇒ Integer

max(0, includedQuantity - usedQuantity).

Returns:

  • (Integer)


1897
1898
1899
1900
1901
1902
1903
1904
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1897

class EntitlementMetricStatus < Struct.new(
  :metric_id,
  :used_quantity,
  :included_quantity,
  :remaining_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#used_quantity ⇒ Integer

The quantity of the metric already used in the current period.

Returns:

  • (Integer)


1897
1898
1899
1900
1901
1902
1903
1904
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 1897

class EntitlementMetricStatus < Struct.new(
  :metric_id,
  :used_quantity,
  :included_quantity,
  :remaining_quantity)
  SENSITIVE = []
  include Aws::Structure
end