users_capabilities
Creates, updates, deletes, gets or lists a users_capabilities
resource.
Overview
Name | users_capabilities |
Type | Resource |
Id | googleworkspace.drivelabelsv2.users_capabilities |
Fields
The following fields are returned by SELECT
queries:
- get_capabilities
Name | Datatype | Description |
---|---|---|
name | string | Output only. Resource name for the user capabilities. |
canAccessLabelManager | boolean | Output only. Whether the user is allowed access to the label manager. |
canAdministrateLabels | boolean | Output only. Whether the user is an administrator for the shared labels feature. |
canCreateAdminLabels | boolean | Output only. Whether the user is allowed to create admin labels. |
canCreateSharedLabels | boolean | Output only. Whether the user is allowed to create shared labels. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_capabilities | select | usersId | customer | Gets the user capabilities. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
usersId | string | |
customer | string |
SELECT
examples
- get_capabilities
Gets the user capabilities.
SELECT
name,
canAccessLabelManager,
canAdministrateLabels,
canCreateAdminLabels,
canCreateSharedLabels
FROM googleworkspace.drivelabelsv2.users_capabilities
WHERE usersId = '{{ usersId }}' -- required
AND customer = '{{ customer }}'
;