gogol-mirror-0.0.1: Google Mirror SDK.

Copyright(c) 2015 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.

Request Lenses

cpPayload :: Lens' ContactsPatch Contact Source

Multipart request metadata.

cpId :: Lens' ContactsPatch Text Source

The ID of the contact.