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

Contents

Description

Update organizational 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 organizational unit. This method supports patch semantics.

See: orgUnitsPatch smart constructor.

Instances
Eq OrgUnitsPatch Source # 
Instance details

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

Data OrgUnitsPatch Source # 
Instance details

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

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

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

Generic OrgUnitsPatch Source # 
Instance details

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

Associated Types

type Rep OrgUnitsPatch :: Type -> Type #

GoogleRequest OrgUnitsPatch Source # 
Instance details

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

Associated Types

type Rs OrgUnitsPatch :: Type #

type Scopes OrgUnitsPatch :: [Symbol] #

type Rep OrgUnitsPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

oupPayload :: Lens' OrgUnitsPatch OrgUnit Source #

Multipart request metadata.

oupOrgUnitPath :: Lens' OrgUnitsPatch [Text] Source #

Full path of the organizational unit or its ID

oupCustomerId :: Lens' OrgUnitsPatch Text Source #

Immutable ID of the G Suite account