gogol-admin-directory-0.4.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 # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

Data RoleAssignmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

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 # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

Generic RoleAssignmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

Associated Types

type Rep RoleAssignmentsGet :: Type -> Type #

GoogleRequest RoleAssignmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

Associated Types

type Rs RoleAssignmentsGet :: Type #

type Scopes RoleAssignmentsGet :: [Symbol] #

type Rep RoleAssignmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

type Rep RoleAssignmentsGet = D1 (MetaData "RoleAssignmentsGet" "Network.Google.Resource.Directory.RoleAssignments.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "RoleAssignmentsGet'" PrefixI True) (S1 (MetaSel (Just "_ragCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ragRoleAssignmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes RoleAssignmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

type Scopes RoleAssignmentsGet = "https://www.googleapis.com/auth/admin.directory.rolemanagement" ': ("https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly" ': ([] :: [Symbol]))
type Rs RoleAssignmentsGet Source # 
Instance details

Defined in Network.Google.Resource.Directory.RoleAssignments.Get

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.