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

Contents

Description

Deletes a contact.

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

Synopsis

REST Resource

type ContactsDeleteResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) Source #

A resource alias for mirror.contacts.delete method which the ContactsDelete request conforms to.

Creating a Request

contactsDelete Source #

Arguments

:: Text

cdId

-> ContactsDelete 

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

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

data ContactsDelete Source #

Deletes a contact.

See: contactsDelete smart constructor.

Instances
Eq ContactsDelete Source # 
Instance details

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

Data ContactsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ContactsDelete -> Constr #

dataTypeOf :: ContactsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactsDelete Source # 
Instance details

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

Generic ContactsDelete Source # 
Instance details

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

Associated Types

type Rep ContactsDelete :: Type -> Type #

GoogleRequest ContactsDelete Source # 
Instance details

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

Associated Types

type Rs ContactsDelete :: Type #

type Scopes ContactsDelete :: [Symbol] #

type Rep ContactsDelete Source # 
Instance details

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

type Rep ContactsDelete = D1 (MetaData "ContactsDelete" "Network.Google.Resource.Mirror.Contacts.Delete" "gogol-mirror-0.4.0-9c962MxnB494MCOxCUtS1H" True) (C1 (MetaCons "ContactsDelete'" PrefixI True) (S1 (MetaSel (Just "_cdId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ContactsDelete Source # 
Instance details

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

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

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

type Rs ContactsDelete = ()

Request Lenses

cdId :: Lens' ContactsDelete Text Source #

The ID of the contact.