Close httplib2 connections.
Retrieves a paginated list of all privileges for a customer.
close()
Close httplib2 connections.
list(customer, x__xgafv=None)
Retrieves a paginated list of all privileges for a customer. Args: customer: string, The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You must provide either the `customer` or the `domain` parameter. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "etag": "A String", # ETag of the resource. "items": [ # A list of Privilege resources. { "childPrivileges": [ # A list of child privileges. Privileges for a service form a tree. Each privilege can have a list of child privileges; this list is empty for a leaf privilege. # Object with schema name: Privilege ], "etag": "A String", # ETag of the resource. "isOuScopable": True or False, # If the privilege can be restricted to an organization unit. "kind": "admin#directory#privilege", # The type of the API resource. This is always `admin#directory#privilege`. "privilegeName": "A String", # The name of the privilege. "serviceId": "A String", # The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list). "serviceName": "A String", # The name of the service this privilege is for. }, ], "kind": "admin#directory#privileges", # The type of the API resource. This is always `admin#directory#privileges`. }