Skip to content

gplay device-tiers

Manage device tier configurations.

gplay device-tiers <subcommand> [flags]

Manage device tier configurations for Play Asset Delivery.

Device tiers allow you to customize asset delivery based on device characteristics like RAM, texture compression support, or device model.

List device tier configurations.

gplay device-tiers list --package <name>
Flag Description Default
--output Output format: json (default), table, markdown json
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false

Get a device tier configuration.

gplay device-tiers get --package <name> --config-id <id>
Flag Description Default
--config-id Device tier config ID 0
--output Output format: json (default), table, markdown json
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false

Create a device tier configuration.

gplay device-tiers create --package <name> --json <json>

Create a device tier configuration for asset delivery.

JSON format for RAM-based tiers: { “deviceGroups”: [ { “name”: “low_ram”, “deviceSelectors”: [ { “deviceRam”: { “minBytes”: “0”, “maxBytes”: “2147483648” } } ] }, { “name”: “high_ram”, “deviceSelectors”: [ { “deviceRam”: { “minBytes”: “2147483648” } } ] } ], “deviceTierSet”: { “deviceTiers”: [ { “deviceGroupNames”: [“low_ram”], “level”: 0 }, { “deviceGroupNames”: [“high_ram”], “level”: 1 } ] } }

Flag Description Default
--allow-unknown-devices Allow unknown devices in tiers false
--json DeviceTierConfig JSON (or @file) ``
--output Output format: json (default), table, markdown json
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false