Class: Google::Apis::AndroidpublisherV3::DeviceTierConfig
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::DeviceTierConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
LINT.IfChange Configuration describing device targeting criteria for the content of an app.
Instance Attribute Summary collapse
-
#device_groups ⇒ Array<Google::Apis::AndroidpublisherV3::DeviceGroup>
Definition of device groups for the app.
-
#device_tier_config_id ⇒ Fixnum
Output only.
-
#device_tier_set ⇒ Google::Apis::AndroidpublisherV3::DeviceTierSet
A set of device tiers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceTierConfig
constructor
A new instance of DeviceTierConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceTierConfig
Returns a new instance of DeviceTierConfig.
1103 1104 1105 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_groups ⇒ Array<Google::Apis::AndroidpublisherV3::DeviceGroup>
Definition of device groups for the app.
Corresponds to the JSON property deviceGroups
1087 1088 1089 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1087 def device_groups @device_groups end |
#device_tier_config_id ⇒ Fixnum
Output only. The device tier config ID.
Corresponds to the JSON property deviceTierConfigId
1092 1093 1094 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1092 def device_tier_config_id @device_tier_config_id end |
#device_tier_set ⇒ Google::Apis::AndroidpublisherV3::DeviceTierSet
A set of device tiers. A tier set determines what variation of app content
gets served to a specific device, for device-targeted content. You should
assign a priority level to each tier, which determines the ordering by which
they are evaluated by Play. See the documentation of DeviceTier.level for more
details.
Corresponds to the JSON property deviceTierSet
1101 1102 1103 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1101 def device_tier_set @device_tier_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1108 1109 1110 1111 1112 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1108 def update!(**args) @device_groups = args[:device_groups] if args.key?(:device_groups) @device_tier_config_id = args[:device_tier_config_id] if args.key?(:device_tier_config_id) @device_tier_set = args[:device_tier_set] if args.key?(:device_tier_set) end |