Skip to main content

users_capabilities

Creates, updates, deletes, gets or lists a users_capabilities resource.

Overview

Nameusers_capabilities
TypeResource
Idgoogleworkspace.drivelabelsv2.users_capabilities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringOutput only. Resource name for the user capabilities.
canAccessLabelManagerbooleanOutput only. Whether the user is allowed access to the label manager.
canAdministrateLabelsbooleanOutput only. Whether the user is an administrator for the shared labels feature.
canCreateAdminLabelsbooleanOutput only. Whether the user is allowed to create admin labels.
canCreateSharedLabelsbooleanOutput only. Whether the user is allowed to create shared labels.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_capabilitiesselectusersIdcustomerGets 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.

NameDatatypeDescription
usersIdstring
customerstring

SELECT examples

Gets the user capabilities.

SELECT
name,
canAccessLabelManager,
canAdministrateLabels,
canCreateAdminLabels,
canCreateSharedLabels
FROM googleworkspace.drivelabelsv2.users_capabilities
WHERE usersId = '{{ usersId }}' -- required
AND customer = '{{ customer }}'
;