gogol-admin-directory-0.5.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.List

Contents

Description

Retrieve all organizational units

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

Synopsis

REST Resource

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

A resource alias for directory.orgunits.list method which the OrgUnitsList request conforms to.

Creating a Request

orgUnitsList Source #

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

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

data OrgUnitsList Source #

Retrieve all organizational units

See: orgUnitsList smart constructor.

Instances
Eq OrgUnitsList Source # 
Instance details

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

Data OrgUnitsList Source # 
Instance details

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

Methods

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

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

toConstr :: OrgUnitsList -> Constr #

dataTypeOf :: OrgUnitsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrgUnitsList Source # 
Instance details

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

Generic OrgUnitsList Source # 
Instance details

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

Associated Types

type Rep OrgUnitsList :: Type -> Type #

GoogleRequest OrgUnitsList Source # 
Instance details

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

Associated Types

type Rs OrgUnitsList :: Type #

type Scopes OrgUnitsList :: [Symbol] #

type Rep OrgUnitsList Source # 
Instance details

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

type Rep OrgUnitsList = D1 (MetaData "OrgUnitsList" "Network.Google.Resource.Directory.OrgUnits.List" "gogol-admin-directory-0.5.0-CACG6Jlc7nkAJWZ09aW4bk" False) (C1 (MetaCons "OrgUnitsList'" PrefixI True) (S1 (MetaSel (Just "_oulOrgUnitPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oulCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oulType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OrgUnitsListType)))))
type Scopes OrgUnitsList Source # 
Instance details

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

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

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

Request Lenses

oulOrgUnitPath :: Lens' OrgUnitsList Text Source #

the URL-encoded organizational unit's path or its ID

oulCustomerId :: Lens' OrgUnitsList Text Source #

Immutable ID of the G Suite account

oulType :: Lens' OrgUnitsList (Maybe OrgUnitsListType) Source #

Whether to return all sub-organizations or just immediate children