gogol-mirror-0.1.1: Google Mirror 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.Mirror.Contacts.Patch

Contents

Description

Updates a contact in place. This method supports patch semantics.

See: Google Mirror API Reference for mirror.contacts.patch.

Synopsis

REST Resource

type ContactsPatchResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Contact :> Patch '[JSON] Contact))))) Source #

A resource alias for mirror.contacts.patch method which the ContactsPatch request conforms to.

Creating a Request

contactsPatch Source #

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

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

data ContactsPatch Source #

Updates a contact in place. This method supports patch semantics.

See: contactsPatch smart constructor.

Instances

Eq ContactsPatch Source # 
Data ContactsPatch Source # 

Methods

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

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

toConstr :: ContactsPatch -> Constr #

dataTypeOf :: ContactsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactsPatch Source # 
Generic ContactsPatch Source # 

Associated Types

type Rep ContactsPatch :: * -> * #

GoogleRequest ContactsPatch Source # 

Associated Types

type Rs ContactsPatch :: * #

type Scopes ContactsPatch :: [Symbol] #

type Rep ContactsPatch Source # 
type Rep ContactsPatch = D1 (MetaData "ContactsPatch" "Network.Google.Resource.Mirror.Contacts.Patch" "gogol-mirror-0.1.1-HFIe8lL5TZI3PtD2e7JiNI" False) (C1 (MetaCons "ContactsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Contact)) (S1 (MetaSel (Just Symbol "_cpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ContactsPatch Source # 
type Scopes ContactsPatch = (:) Symbol "https://www.googleapis.com/auth/glass.timeline" ([] Symbol)
type Rs ContactsPatch Source # 

Request Lenses

cpPayload :: Lens' ContactsPatch Contact Source #

Multipart request metadata.

cpId :: Lens' ContactsPatch Text Source #

The ID of the contact.