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

Contents

Description

Updates a customer. This method supports patch semantics.

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

Synopsis

REST Resource

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

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

Updates a customer. This method supports patch semantics.

See: customersPatch smart constructor.

Instances
Eq CustomersPatch Source # 
Instance details

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

Data CustomersPatch Source # 
Instance details

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

Generic CustomersPatch Source # 
Instance details

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

Associated Types

type Rep CustomersPatch :: Type -> Type #

GoogleRequest CustomersPatch Source # 
Instance details

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

Associated Types

type Rs CustomersPatch :: Type #

type Scopes CustomersPatch :: [Symbol] #

type Rep CustomersPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

cpCustomerKey :: Lens' CustomersPatch Text Source #

Id of the customer to be updated

cpPayload :: Lens' CustomersPatch Customer Source #

Multipart request metadata.