gogol-admin-directory-0.3.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.OrgUnits.Get

Contents

Description

Retrieve Organization Unit

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

Synopsis

REST Resource

type OrgUnitsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("orgunits" :> (Captures "orgUnitPath" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrgUnit))))))) Source #

A resource alias for directory.orgunits.get method which the OrgUnitsGet request conforms to.

Creating a Request

orgUnitsGet Source #

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

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

data OrgUnitsGet Source #

Retrieve Organization Unit

See: orgUnitsGet smart constructor.

Instances

Eq OrgUnitsGet Source # 
Data OrgUnitsGet Source # 

Methods

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

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

toConstr :: OrgUnitsGet -> Constr #

dataTypeOf :: OrgUnitsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrgUnitsGet Source # 
Generic OrgUnitsGet Source # 

Associated Types

type Rep OrgUnitsGet :: * -> * #

GoogleRequest OrgUnitsGet Source # 

Associated Types

type Rs OrgUnitsGet :: * #

type Scopes OrgUnitsGet :: [Symbol] #

type Rep OrgUnitsGet Source # 
type Rep OrgUnitsGet = D1 (MetaData "OrgUnitsGet" "Network.Google.Resource.Directory.OrgUnits.Get" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" False) (C1 (MetaCons "OrgUnitsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ougOrgUnitPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])) (S1 (MetaSel (Just Symbol "_ougCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrgUnitsGet Source # 
type Scopes OrgUnitsGet = (:) Symbol "https://www.googleapis.com/auth/admin.directory.orgunit" ((:) Symbol "https://www.googleapis.com/auth/admin.directory.orgunit.readonly" ([] Symbol))
type Rs OrgUnitsGet Source # 

Request Lenses

ougOrgUnitPath :: Lens' OrgUnitsGet [Text] Source #

Full path of the organization unit or its Id

ougCustomerId :: Lens' OrgUnitsGet Text Source #

Immutable id of the Google Apps account