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 |
Retrieve a role assignment.
See: Admin Directory API Reference for directory.roleAssignments.get
.
Synopsis
- type RoleAssignmentsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roleassignments" :> (Capture "roleAssignmentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] RoleAssignment)))))))
- roleAssignmentsGet :: Text -> Text -> RoleAssignmentsGet
- data RoleAssignmentsGet
- ragCustomer :: Lens' RoleAssignmentsGet Text
- ragRoleAssignmentId :: Lens' RoleAssignmentsGet Text
REST Resource
type RoleAssignmentsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roleassignments" :> (Capture "roleAssignmentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] RoleAssignment))))))) Source #
A resource alias for directory.roleAssignments.get
method which the
RoleAssignmentsGet
request conforms to.
Creating a Request
Creates a value of RoleAssignmentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RoleAssignmentsGet Source #
Retrieve a role assignment.
See: roleAssignmentsGet
smart constructor.
Instances
Request Lenses
ragCustomer :: Lens' RoleAssignmentsGet Text Source #
Immutable ID of the G Suite account.
ragRoleAssignmentId :: Lens' RoleAssignmentsGet Text Source #
Immutable ID of the role assignment.