Skip to main content

privileges

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

Overview

Nameprivileges
TypeResource
Idgoogleadmin.directory.privileges

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
etagstringETag of the resource.
itemsarrayA list of Privilege resources.
kindstringThe type of the API resource. This is always admin#directory#privileges. (default: admin#directory#privileges)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcustomerRetrieves a paginated list of all privileges for a customer.

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
customerstring

SELECT examples

Retrieves a paginated list of all privileges for a customer.

SELECT
etag,
items,
kind
FROM googleadmin.directory.privileges
WHERE customer = '{{ customer }}' -- required;