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

Contents

Description

Retrieve organizational 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 organizational unit

See: orgUnitsGet smart constructor.

Instances
Eq OrgUnitsGet Source # 
Instance details

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

Data OrgUnitsGet Source # 
Instance details

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

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

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

Generic OrgUnitsGet Source # 
Instance details

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

Associated Types

type Rep OrgUnitsGet :: Type -> Type #

GoogleRequest OrgUnitsGet Source # 
Instance details

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

Associated Types

type Rs OrgUnitsGet :: Type #

type Scopes OrgUnitsGet :: [Symbol] #

type Rep OrgUnitsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

ougOrgUnitPath :: Lens' OrgUnitsGet [Text] Source #

Full path of the organizational unit or its ID

ougCustomerId :: Lens' OrgUnitsGet Text Source #

Immutable ID of the G Suite account