Added
Settings API
1 day ago
New Settings API with endpoints for managing Cloud Analytics custom report themes:
- GET /analytics/v1/settings/themes: Returns the list of custom color themes defined for your account.
- POST /analytics/v1/settings/themes: Creates a new custom color theme. Requires Cloud Analytics Admin permission.
- GET /analytics/v1/settings/themes/{id}: Returns a custom theme by the specified ID.
- PATCH /analytics/v1/settings/themes/{id}: Updates the custom theme specified by the Id. Requires Cloud Analytics Admin permission.
- DELETE /analytics/v1/settings/themes/{id}: Deletes the custom theme specified by the Id. Requires Cloud Analytics Admin permission.
Theme model
Each custom theme includes:
name: Display name.primaryColor: HEX color (#RGB, #RRGGBB, or #RRGGBBAA).colors: Light and dark palettes, each with 1–32 hex colors.
Responses also return id, createTime, and updateTime.
Create requires name, primaryColor, and colors. Update accepts any subset of those fields.