gogol-mirror-0.4.0: 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.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:

data ContactsUpdate Source #

Updates a contact in place.

See: contactsUpdate smart constructor.

Instances
Eq ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

Data ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

Methods

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

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

toConstr :: ContactsUpdate -> Constr #

dataTypeOf :: ContactsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

Generic ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

Associated Types

type Rep ContactsUpdate :: Type -> Type #

GoogleRequest ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

Associated Types

type Rs ContactsUpdate :: Type #

type Scopes ContactsUpdate :: [Symbol] #

type Rep ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

type Rep ContactsUpdate = D1 (MetaData "ContactsUpdate" "Network.Google.Resource.Mirror.Contacts.Update" "gogol-mirror-0.4.0-9c962MxnB494MCOxCUtS1H" False) (C1 (MetaCons "ContactsUpdate'" PrefixI True) (S1 (MetaSel (Just "_cuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Contact) :*: S1 (MetaSel (Just "_cuId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

type Scopes ContactsUpdate = "https://www.googleapis.com/auth/glass.timeline" ': ([] :: [Symbol])
type Rs ContactsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Contacts.Update

Request Lenses

cuPayload :: Lens' ContactsUpdate Contact Source #

Multipart request metadata.

cuId :: Lens' ContactsUpdate Text Source #

The ID of the contact.