| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Mirror.Contacts.Patch
Description
Updates a contact in place. This method supports patch semantics.
See: Google Mirror API Reference for mirror.contacts.patch.
Synopsis
- type ContactsPatchResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Contact :> Patch '[JSON] Contact)))))
- contactsPatch :: Contact -> Text -> ContactsPatch
- data ContactsPatch
- cpPayload :: Lens' ContactsPatch Contact
- cpId :: Lens' ContactsPatch Text
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
Arguments
| :: Contact | |
| -> Text | |
| -> ContactsPatch |
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.