gogol-admin-directory-0.1.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.Update

Contents

Description

Update Organization Unit

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

Synopsis

REST Resource

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

A resource alias for directory.orgunits.update method which the OrgUnitsUpdate request conforms to.

Creating a Request

orgUnitsUpdate Source #

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

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

data OrgUnitsUpdate Source #

Update Organization Unit

See: orgUnitsUpdate smart constructor.

Instances

Eq OrgUnitsUpdate Source # 
Data OrgUnitsUpdate Source # 

Methods

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

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

toConstr :: OrgUnitsUpdate -> Constr #

dataTypeOf :: OrgUnitsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrgUnitsUpdate Source # 
Generic OrgUnitsUpdate Source # 

Associated Types

type Rep OrgUnitsUpdate :: * -> * #

GoogleRequest OrgUnitsUpdate Source # 
type Rep OrgUnitsUpdate Source # 
type Rep OrgUnitsUpdate = D1 (MetaData "OrgUnitsUpdate" "Network.Google.Resource.Directory.OrgUnits.Update" "gogol-admin-directory-0.1.0-6Hl4AGA4XOQ2JjauO4m89n" False) (C1 (MetaCons "OrgUnitsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ouuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrgUnit)) ((:*:) (S1 (MetaSel (Just Symbol "_ouuOrgUnitPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])) (S1 (MetaSel (Just Symbol "_ouuCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes OrgUnitsUpdate Source # 
type Scopes OrgUnitsUpdate = (:) Symbol "https://www.googleapis.com/auth/admin.directory.orgunit" ([] Symbol)
type Rs OrgUnitsUpdate Source # 

Request Lenses

ouuPayload :: Lens' OrgUnitsUpdate OrgUnit Source #

Multipart request metadata.

ouuOrgUnitPath :: Lens' OrgUnitsUpdate [Text] Source #

Full path of the organization unit or its Id

ouuCustomerId :: Lens' OrgUnitsUpdate Text Source #

Immutable id of the Google Apps account