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.Update

Contents

Description

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

See: orgUnitsUpdate smart constructor.

Instances
Eq OrgUnitsUpdate Source # 
Instance details

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

Data OrgUnitsUpdate Source # 
Instance details

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

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

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

Generic OrgUnitsUpdate Source # 
Instance details

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

Associated Types

type Rep OrgUnitsUpdate :: Type -> Type #

GoogleRequest OrgUnitsUpdate Source # 
Instance details

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

Associated Types

type Rs OrgUnitsUpdate :: Type #

type Scopes OrgUnitsUpdate :: [Symbol] #

type Rep OrgUnitsUpdate Source # 
Instance details

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

type Rep OrgUnitsUpdate = D1 (MetaData "OrgUnitsUpdate" "Network.Google.Resource.Directory.OrgUnits.Update" "gogol-admin-directory-0.5.0-CACG6Jlc7nkAJWZ09aW4bk" False) (C1 (MetaCons "OrgUnitsUpdate'" PrefixI True) (S1 (MetaSel (Just "_ouuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrgUnit) :*: (S1 (MetaSel (Just "_ouuOrgUnitPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]) :*: S1 (MetaSel (Just "_ouuCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes OrgUnitsUpdate Source # 
Instance details

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

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

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

Request Lenses

ouuPayload :: Lens' OrgUnitsUpdate OrgUnit Source #

Multipart request metadata.

ouuOrgUnitPath :: Lens' OrgUnitsUpdate [Text] Source #

Full path of the organizational unit or its ID

ouuCustomerId :: Lens' OrgUnitsUpdate Text Source #

Immutable ID of the G Suite account