gogol-apps-reseller-0.1.0: Google Enterprise Apps Reseller 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.Reseller.Customers.Patch

Contents

Description

Update a customer resource if one it exists and is owned by the reseller. This method supports patch semantics.

See: Enterprise Apps Reseller API Reference for reseller.customers.patch.

Synopsis

REST Resource

type CustomersPatchResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Customer :> Patch '[JSON] Customer)))))) Source #

A resource alias for reseller.customers.patch method which the CustomersPatch request conforms to.

Creating a Request

customersPatch Source #

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

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

data CustomersPatch Source #

Update a customer resource if one it exists and is owned by the reseller. This method supports patch semantics.

See: customersPatch smart constructor.

Instances

Eq CustomersPatch Source # 
Data CustomersPatch Source # 

Methods

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

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

toConstr :: CustomersPatch -> Constr #

dataTypeOf :: CustomersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersPatch Source # 
Generic CustomersPatch Source # 

Associated Types

type Rep CustomersPatch :: * -> * #

GoogleRequest CustomersPatch Source # 
type Rep CustomersPatch Source # 
type Rep CustomersPatch = D1 (MetaData "CustomersPatch" "Network.Google.Resource.Reseller.Customers.Patch" "gogol-apps-reseller-0.1.0-8e99QQWWuAAIG8D6nSLpYj" False) (C1 (MetaCons "CustomersPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Customer)) (S1 (MetaSel (Just Symbol "_cpCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes CustomersPatch Source # 
type Scopes CustomersPatch = (:) Symbol "https://www.googleapis.com/auth/apps.order" ([] Symbol)
type Rs CustomersPatch Source # 

Request Lenses

cpPayload :: Lens' CustomersPatch Customer Source #

Multipart request metadata.