View Source GoogleApi.AndroidPublisher.V3.Model.DeviceTier (google_api_android_publisher v0.34.1)

A single device tier. Devices matching any of the device groups in device_group_names are considered to match the tier.

Attributes

  • deviceGroupNames (type: list(String.t), default: nil) - Groups of devices included in this tier. These groups must be defined explicitly under device_groups in this configuration.
  • level (type: integer(), default: nil) - The priority level of the tier. Tiers are evaluated in descending order of level: the highest level tier has the highest priority. The highest tier matching a given device is selected for that device. You should use a contiguous range of levels for your tiers in a tier set; tier levels in a tier set must be unique. For instance, if your tier set has 4 tiers (including the global fallback), you should define tiers 1, 2 and 3 in this configuration. Note: tier 0 is implicitly defined as a global fallback and selected for devices that don't match any of the tiers explicitly defined here. You mustn't define level 0 explicitly in this configuration.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidPublisher.V3.Model.DeviceTier{
  deviceGroupNames: [String.t()] | nil,
  level: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.