gogol-admin-directory-0.2.0: Google Admin Directory SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Directory.RoleAssignments.Get

Contents

Description

Retrieve a role assignment.

See: Admin Directory API Reference for directory.roleAssignments.get.

Synopsis

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

roleAssignmentsGet Source #

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

Eq RoleAssignmentsGet Source # 
Data RoleAssignmentsGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RoleAssignmentsGet -> c RoleAssignmentsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RoleAssignmentsGet #

toConstr :: RoleAssignmentsGet -> Constr #

dataTypeOf :: RoleAssignmentsGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RoleAssignmentsGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RoleAssignmentsGet) #

gmapT :: (forall b. Data b => b -> b) -> RoleAssignmentsGet -> RoleAssignmentsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RoleAssignmentsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RoleAssignmentsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> RoleAssignmentsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RoleAssignmentsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RoleAssignmentsGet -> m RoleAssignmentsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RoleAssignmentsGet -> m RoleAssignmentsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RoleAssignmentsGet -> m RoleAssignmentsGet #

Show RoleAssignmentsGet Source # 
Generic RoleAssignmentsGet Source # 
GoogleRequest RoleAssignmentsGet Source # 
type Rep RoleAssignmentsGet Source # 
type Rep RoleAssignmentsGet = D1 (MetaData "RoleAssignmentsGet" "Network.Google.Resource.Directory.RoleAssignments.Get" "gogol-admin-directory-0.2.0-LtLu3aZ0zIMLZgbWZuob8D" False) (C1 (MetaCons "RoleAssignmentsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ragCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ragRoleAssignmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RoleAssignmentsGet Source # 
type Scopes RoleAssignmentsGet = (:) Symbol "https://www.googleapis.com/auth/admin.directory.rolemanagement" ((:) Symbol "https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly" ([] Symbol))
type Rs RoleAssignmentsGet Source # 

Request Lenses

ragCustomer :: Lens' RoleAssignmentsGet Text Source #

Immutable ID of the Google Apps account.

ragRoleAssignmentId :: Lens' RoleAssignmentsGet Text Source #

Immutable ID of the role assignment.