update_resource_permissions
Change sharing settings for Cloud Analytics resources: update per-user roles or public visibility for alerts, budgets, reports, or allocations.
Instructions
Use this when the user wants to change who a Cloud Analytics resource is shared with or update access levels. Updates the sharing settings (per-user roles and/or public visibility) for a specific alert, budget, report, or allocation. Requires resourceType and resourceId; at least one of permissions or public should be provided. Do NOT use this to view current permissions (use get_resource_permissions).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | Public visibility level. Set to 'editor' or 'viewer' to share with all users, or null to make private. | |
| resourceId | Yes | The ID of the resource (alert, budget, report, or allocation) to update permissions for. | |
| permissions | No | List of per-user permission entries to set. Each entry has a user (email) and a role (owner, editor, or viewer). | |
| resourceType | Yes | The type of resource to update sharing settings for. One of: alerts, budgets, reports, allocations. |