gogol-people-0.4.0: Google People 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.People.People.DeleteContact

Contents

Description

Delete a contact person. Any non-contact data will not be deleted.

See: People API Reference for people.people.deleteContact.

Synopsis

REST Resource

type PeopleDeleteContactResource = "v1" :> (CaptureMode "resourceName" "deleteContact" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #

A resource alias for people.people.deleteContact method which the PeopleDeleteContact request conforms to.

Creating a Request

peopleDeleteContact Source #

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

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

data PeopleDeleteContact Source #

Delete a contact person. Any non-contact data will not be deleted.

See: peopleDeleteContact smart constructor.

Instances
Eq PeopleDeleteContact Source # 
Instance details

Defined in Network.Google.Resource.People.People.DeleteContact

Data PeopleDeleteContact Source # 
Instance details

Defined in Network.Google.Resource.People.People.DeleteContact

Methods

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

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

toConstr :: PeopleDeleteContact -> Constr #

dataTypeOf :: PeopleDeleteContact -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PeopleDeleteContact Source # 
Instance details

Defined in Network.Google.Resource.People.People.DeleteContact

Generic PeopleDeleteContact Source # 
Instance details

Defined in Network.Google.Resource.People.People.DeleteContact

Associated Types

type Rep PeopleDeleteContact :: Type -> Type #

GoogleRequest PeopleDeleteContact Source # 
Instance details

Defined in Network.Google.Resource.People.People.DeleteContact

Associated Types

type Rs PeopleDeleteContact :: Type #

type Scopes PeopleDeleteContact :: [Symbol] #

type Rep PeopleDeleteContact Source # 
Instance details

Defined in Network.Google.Resource.People.People.DeleteContact

type Rep PeopleDeleteContact = D1 (MetaData "PeopleDeleteContact" "Network.Google.Resource.People.People.DeleteContact" "gogol-people-0.4.0-E13x4gVqkHzANg1IJZFmJ4" False) (C1 (MetaCons "PeopleDeleteContact'" PrefixI True) ((S1 (MetaSel (Just "_pdcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdcResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_pdcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pdcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PeopleDeleteContact Source # 
Instance details

Defined in Network.Google.Resource.People.People.DeleteContact

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

Defined in Network.Google.Resource.People.People.DeleteContact

Request Lenses

pdcUploadProtocol :: Lens' PeopleDeleteContact (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pdcResourceName :: Lens' PeopleDeleteContact Text Source #

The resource name of the contact to delete.

pdcUploadType :: Lens' PeopleDeleteContact (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").