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.Roles.Get

Contents

Description

Retrieves a role.

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

Synopsis

REST Resource

type RolesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("roles" :> (Capture "roleId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Role))))))) Source #

A resource alias for directory.roles.get method which the RolesGet request conforms to.

Creating a Request

rolesGet Source #

Creates a value of RolesGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RolesGet Source #

Retrieves a role.

See: rolesGet smart constructor.

Instances
Eq RolesGet Source # 
Instance details

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

Data RolesGet Source # 
Instance details

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

Methods

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

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

toConstr :: RolesGet -> Constr #

dataTypeOf :: RolesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RolesGet Source # 
Instance details

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

Generic RolesGet Source # 
Instance details

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

Associated Types

type Rep RolesGet :: Type -> Type #

Methods

from :: RolesGet -> Rep RolesGet x #

to :: Rep RolesGet x -> RolesGet #

GoogleRequest RolesGet Source # 
Instance details

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

Associated Types

type Rs RolesGet :: Type #

type Scopes RolesGet :: [Symbol] #

type Rep RolesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

rgRoleId :: Lens' RolesGet Text Source #

Immutable ID of the role.

rgCustomer :: Lens' RolesGet Text Source #

Immutable ID of the G Suite account.