| 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 |
Network.Google.Resource.Directory.RoleAssignments.List
Description
Retrieves a paginated list of all roleAssignments.
See: Admin Directory API Reference for directory.roleAssignments.list.
Synopsis
- type RoleAssignmentsListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roleassignments" :> (QueryParam "roleId" Text :> (QueryParam "pageToken" Text :> (QueryParam "userKey" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] RoleAssignments))))))))))
- roleAssignmentsList :: Text -> RoleAssignmentsList
- data RoleAssignmentsList
- ralRoleId :: Lens' RoleAssignmentsList (Maybe Text)
- ralCustomer :: Lens' RoleAssignmentsList Text
- ralPageToken :: Lens' RoleAssignmentsList (Maybe Text)
- ralUserKey :: Lens' RoleAssignmentsList (Maybe Text)
- ralMaxResults :: Lens' RoleAssignmentsList (Maybe Int32)
REST Resource
type RoleAssignmentsListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roleassignments" :> (QueryParam "roleId" Text :> (QueryParam "pageToken" Text :> (QueryParam "userKey" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] RoleAssignments)))))))))) Source #
A resource alias for directory.roleAssignments.list method which the
RoleAssignmentsList request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> RoleAssignmentsList |
Creates a value of RoleAssignmentsList with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RoleAssignmentsList Source #
Retrieves a paginated list of all roleAssignments.
See: roleAssignmentsList smart constructor.
Instances
Request Lenses
ralRoleId :: Lens' RoleAssignmentsList (Maybe Text) Source #
Immutable ID of a role. If included in the request, returns only role assignments containing this role ID.
ralCustomer :: Lens' RoleAssignmentsList Text Source #
Immutable ID of the G Suite account.
ralPageToken :: Lens' RoleAssignmentsList (Maybe Text) Source #
Token to specify the next page in the list.
ralUserKey :: Lens' RoleAssignmentsList (Maybe Text) Source #
The user's primary email address, alias email address, or unique user ID. If included in the request, returns role assignments only for this user.
ralMaxResults :: Lens' RoleAssignmentsList (Maybe Int32) Source #
Maximum number of results to return.