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 the roles in a domain.
See: Admin Directory API Reference for directory.roles.list
.
Synopsis
- type RolesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Roles))))))))
- rolesList :: Text -> RolesList
- data RolesList
- rlCustomer :: Lens' RolesList Text
- rlPageToken :: Lens' RolesList (Maybe Text)
- rlMaxResults :: Lens' RolesList (Maybe Int32)
REST Resource
type RolesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Roles)))))))) Source #
A resource alias for directory.roles.list
method which the
RolesList
request conforms to.
Creating a Request
Creates a value of RolesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves a paginated list of all the roles in a domain.
See: rolesList
smart constructor.