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

Contents

Description

Updates a customer.

See: Admin Directory API Reference for directory.customers.update.

Synopsis

REST Resource

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

A resource alias for directory.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 #

Updates a customer.

See: customersUpdate smart constructor.

Instances
Eq CustomersUpdate Source # 
Instance details

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

Data CustomersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.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.Directory.Customers.Update

Generic CustomersUpdate Source # 
Instance details

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

Associated Types

type Rep CustomersUpdate :: Type -> Type #

GoogleRequest CustomersUpdate Source # 
Instance details

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

Associated Types

type Rs CustomersUpdate :: Type #

type Scopes CustomersUpdate :: [Symbol] #

type Rep CustomersUpdate Source # 
Instance details

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

type Rep CustomersUpdate = D1 (MetaData "CustomersUpdate" "Network.Google.Resource.Directory.Customers.Update" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "CustomersUpdate'" PrefixI True) (S1 (MetaSel (Just "_cuCustomerKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Customer)))
type Scopes CustomersUpdate Source # 
Instance details

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

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

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

Request Lenses

cuCustomerKey :: Lens' CustomersUpdate Text Source #

Id of the customer to be updated

cuPayload :: Lens' CustomersUpdate Customer Source #

Multipart request metadata.