gogol-apps-reseller-0.4.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 account's settings. 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 account's settings. This method supports patch semantics.

See: customersPatch smart constructor.

Instances
Eq CustomersPatch Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Patch

Data CustomersPatch Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Patch

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

Defined in Network.Google.Resource.Reseller.Customers.Patch

Generic CustomersPatch Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Patch

Associated Types

type Rep CustomersPatch :: Type -> Type #

GoogleRequest CustomersPatch Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Patch

Associated Types

type Rs CustomersPatch :: Type #

type Scopes CustomersPatch :: [Symbol] #

type Rep CustomersPatch Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Patch

type Rep CustomersPatch = D1 (MetaData "CustomersPatch" "Network.Google.Resource.Reseller.Customers.Patch" "gogol-apps-reseller-0.4.0-KDuipGWXeWG9naMHX80l3C" False) (C1 (MetaCons "CustomersPatch'" PrefixI True) (S1 (MetaSel (Just "_cpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Customer) :*: S1 (MetaSel (Just "_cpCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes CustomersPatch Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Patch

type Scopes CustomersPatch = "https://www.googleapis.com/auth/apps.order" ': ([] :: [Symbol])
type Rs CustomersPatch Source # 
Instance details

Defined in Network.Google.Resource.Reseller.Customers.Patch

Request Lenses

cpPayload :: Lens' CustomersPatch Customer Source #

Multipart request metadata.

cpCustomerId :: Lens' CustomersPatch Text Source #

Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates.