Class: Aws::AppMonetization::Types::GetMetricRequest

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

Overview

Input for GetMetric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_id ⇒ String

The ID of the app.

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584

class GetMetricRequest < Struct.new(
  :app_id,
  :metric_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#metric_id ⇒ String

The ID of the metric to retrieve.

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584

class GetMetricRequest < Struct.new(
  :app_id,
  :metric_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#scope ⇒ String

Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft.

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584

class GetMetricRequest < Struct.new(
  :app_id,
  :metric_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#stage ⇒ String

The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.

Returns:

  • (String)


2584
2585
2586
2587
2588
2589
2590
2591
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584

class GetMetricRequest < Struct.new(
  :app_id,
  :metric_id,
  :stage,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end