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

Contents

Description

Updates a contact in place.

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

Synopsis

REST Resource

type ContactsUpdateResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Contact :> Put `[JSON]` Contact))))) Source

A resource alias for mirror.contacts.update method which the ContactsUpdate request conforms to.

Creating a Request

contactsUpdate Source

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

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

Request Lenses

cuPayload :: Lens' ContactsUpdate Contact Source

Multipart request metadata.

cuId :: Lens' ContactsUpdate Text Source

The ID of the contact.