gogol-admin-directory-0.2.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.Patch

Contents

Description

Update Organization Unit. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for directory.orgunits.patch method which the OrgUnitsPatch request conforms to.

Creating a Request

orgUnitsPatch Source #

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

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

data OrgUnitsPatch Source #

Update Organization Unit. This method supports patch semantics.

See: orgUnitsPatch smart constructor.

Instances

Eq OrgUnitsPatch Source # 
Data OrgUnitsPatch Source # 

Methods

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

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

toConstr :: OrgUnitsPatch -> Constr #

dataTypeOf :: OrgUnitsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrgUnitsPatch Source # 
Generic OrgUnitsPatch Source # 

Associated Types

type Rep OrgUnitsPatch :: * -> * #

GoogleRequest OrgUnitsPatch Source # 

Associated Types

type Rs OrgUnitsPatch :: * #

type Scopes OrgUnitsPatch :: [Symbol] #

type Rep OrgUnitsPatch Source # 
type Rep OrgUnitsPatch = D1 (MetaData "OrgUnitsPatch" "Network.Google.Resource.Directory.OrgUnits.Patch" "gogol-admin-directory-0.2.0-LtLu3aZ0zIMLZgbWZuob8D" False) (C1 (MetaCons "OrgUnitsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_oupPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OrgUnit)) ((:*:) (S1 (MetaSel (Just Symbol "_oupOrgUnitPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])) (S1 (MetaSel (Just Symbol "_oupCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes OrgUnitsPatch Source # 
type Scopes OrgUnitsPatch = (:) Symbol "https://www.googleapis.com/auth/admin.directory.orgunit" ([] Symbol)
type Rs OrgUnitsPatch Source # 

Request Lenses

oupPayload :: Lens' OrgUnitsPatch OrgUnit Source #

Multipart request metadata.

oupOrgUnitPath :: Lens' OrgUnitsPatch [Text] Source #

Full path of the organization unit or its Id

oupCustomerId :: Lens' OrgUnitsPatch Text Source #

Immutable id of the Google Apps account