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

Contents

Description

Update a customer account's settings.

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

Synopsis

REST Resource

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

A resource alias for reseller.customers.update method which the CustomersUpdate request conforms to.

Creating a Request

customersUpdate Source #

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

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

data CustomersUpdate Source #

Update a customer account's settings.

See: customersUpdate smart constructor.

Instances
Eq CustomersUpdate Source # 
Instance details

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

Data CustomersUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: CustomersUpdate -> Constr #

dataTypeOf :: CustomersUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersUpdate Source # 
Instance details

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

Generic CustomersUpdate Source # 
Instance details

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

Associated Types

type Rep CustomersUpdate :: Type -> Type #

GoogleRequest CustomersUpdate Source # 
Instance details

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

Associated Types

type Rs CustomersUpdate :: Type #

type Scopes CustomersUpdate :: [Symbol] #

type Rep CustomersUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

cuPayload :: Lens' CustomersUpdate Customer Source #

Multipart request metadata.

cuCustomerId :: Lens' CustomersUpdate 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.