gplay data-safety
gplay data-safety
Section titled “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.
gplay data-safety update
Section titled “gplay data-safety update”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 |