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

Contents

Description

Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.

See: People API Reference for people.contactGroups.delete.

Synopsis

REST Resource

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

A resource alias for people.contactGroups.delete method which the ContactGroupsDelete request conforms to.

Creating a Request

contactGroupsDelete Source #

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

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

data ContactGroupsDelete Source #

Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.

See: contactGroupsDelete smart constructor.

Instances
Eq ContactGroupsDelete Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Delete

Data ContactGroupsDelete Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Delete

Methods

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

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

toConstr :: ContactGroupsDelete -> Constr #

dataTypeOf :: ContactGroupsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactGroupsDelete Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Delete

Generic ContactGroupsDelete Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Delete

Associated Types

type Rep ContactGroupsDelete :: Type -> Type #

GoogleRequest ContactGroupsDelete Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Delete

Associated Types

type Rs ContactGroupsDelete :: Type #

type Scopes ContactGroupsDelete :: [Symbol] #

type Rep ContactGroupsDelete Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Delete

type Rep ContactGroupsDelete = D1 (MetaData "ContactGroupsDelete" "Network.Google.Resource.People.ContactGroups.Delete" "gogol-people-0.4.0-E13x4gVqkHzANg1IJZFmJ4" False) (C1 (MetaCons "ContactGroupsDelete'" PrefixI True) ((S1 (MetaSel (Just "_cgdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_cgdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgdDeleteContacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_cgdResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cgdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cgdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ContactGroupsDelete Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.Delete

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

Defined in Network.Google.Resource.People.ContactGroups.Delete

Request Lenses

cgdUploadProtocol :: Lens' ContactGroupsDelete (Maybe Text) Source #

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

cgdDeleteContacts :: Lens' ContactGroupsDelete (Maybe Bool) Source #

Set to true to also delete the contacts in the specified group.

cgdResourceName :: Lens' ContactGroupsDelete Text Source #

The resource name of the contact group to delete.

cgdUploadType :: Lens' ContactGroupsDelete (Maybe Text) Source #

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