Skip to content

gplay device-tiers create

Create a new device tier config on Google Play from a JSON DeviceTierConfig body read from --file (or stdin when --file is omitted or "-"). The server assigns the deviceTierConfigId; do not include it in the body.

Device tier configs are immutable — the API has create/get/list only, no update or delete — so create needs no --confirm (it can never overwrite or destroy an existing config); use --dry-run to validate the body and resolve the target without any HTTP call. GPLAY_READONLY still refuses it (exit 4).

[experimental] — the surface may still evolve (ADR-0010).

gplay device-tiers create [flags]
FlagDescription
--allow-unknown-devicesallow devices unknown to Play in the config (sends allowUnknownDevices=true)
--dry-runvalidate the body and resolve the target without any HTTP call
--file stringpath to a JSON DeviceTierConfig body (default: stdin, or '-')
--output stringoutput format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI)
--package stringAndroid package name (overrides .gplay/config.json pin)
FlagDescription
--account stringname of a stored Account to use (overrides env and active Account)
--retry intretry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry)
--service-account stringpath to a service-account JSON, or inline JSON content (overrides --account, env, and active Account)
--timeout durationper-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads)
-v, --verboselog flow steps to stderr (info level)