Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a paginated list of all privileges for a customer.
See: Admin Directory API Reference for directory.privileges.list
.
Synopsis
- type PrivilegesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> ("ALL" :> ("privileges" :> (QueryParam "alt" AltJSON :> Get '[JSON] Privileges))))))))
- privilegesList :: Text -> PrivilegesList
- data PrivilegesList
- plCustomer :: Lens' PrivilegesList Text
REST Resource
type PrivilegesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> ("ALL" :> ("privileges" :> (QueryParam "alt" AltJSON :> Get '[JSON] Privileges)))))))) Source #
A resource alias for directory.privileges.list
method which the
PrivilegesList
request conforms to.
Creating a Request
Creates a value of PrivilegesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PrivilegesList Source #
Retrieves a paginated list of all privileges for a customer.
See: privilegesList
smart constructor.
Instances
Request Lenses
plCustomer :: Lens' PrivilegesList Text Source #
Immutable ID of the G Suite account.