v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Sharing

Update resource permissions

Updates the permissions associated with the specified Cloud Analytics resource. Supports Allocations, Alerts, Budgets, and Reports.

put/sharing/v1/{resourceType}/{resourceId}

Path parameters

resourceType'alerts' | 'budgets' | 'reports' | 'allocations' required

Resource type.

resourceIdstring required

Resource ID. See Resource IDs.

Request body

public'editor' | 'viewer' nullable

The type of permissions granted to all users in the organization for this resource.

Response

OK - Resource permissions configuration updated.

idstring

Resource ID.

namestring

Resource name.

descriptionstring

Resource description.

createTimeinteger

The time when this resource was created, in milliseconds since the epoch.

updateTimeinteger

The time when this resource was last updated, in milliseconds since the epoch.

public'editor' | 'viewer' nullable

Type of permissions users in the entire organization have for this resource