Skip to content

gplay data-safety

Manage data safety declarations.

gplay data-safety <subcommand> [flags]

Manage data safety declarations for your app.

Data safety declarations inform users about how your app collects and shares data. These appear on your app’s Play Store listing.

Update data safety declarations.

gplay data-safety update --package <name> --json <json>

Update data safety declarations for your app.

JSON format: { “safetyLabels”: “… base64 encoded SafetyLabels proto …” }

Note: The safety labels are encoded in Protocol Buffer format. Typically, you would use the Play Console UI or generate this from your data safety form responses.

Flag Description Default
--json SafetyLabelsUpdateRequest JSON (or @file) ``
--output Output format: json (default), table, markdown json
--package Package name (applicationId) ``
--pretty Pretty-print JSON output false