gogol-gmail-0.4.0: Google Gmail 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.Gmail.Users.Settings.Filters.Delete

Contents

Description

Deletes a filter.

See: Gmail API Reference for gmail.users.settings.filters.delete.

Synopsis

REST Resource

type UsersSettingsFiltersDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("filters" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #

A resource alias for gmail.users.settings.filters.delete method which the UsersSettingsFiltersDelete request conforms to.

Creating a Request

usersSettingsFiltersDelete Source #

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

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

data UsersSettingsFiltersDelete Source #

Deletes a filter.

See: usersSettingsFiltersDelete smart constructor.

Instances
Eq UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

Data UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

Methods

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

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

toConstr :: UsersSettingsFiltersDelete -> Constr #

dataTypeOf :: UsersSettingsFiltersDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

Generic UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

Associated Types

type Rep UsersSettingsFiltersDelete :: Type -> Type #

GoogleRequest UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

type Rep UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

type Rep UsersSettingsFiltersDelete = D1 (MetaData "UsersSettingsFiltersDelete" "Network.Google.Resource.Gmail.Users.Settings.Filters.Delete" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "UsersSettingsFiltersDelete'" PrefixI True) (S1 (MetaSel (Just "_usfdUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_usfdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

type Scopes UsersSettingsFiltersDelete = "https://www.googleapis.com/auth/gmail.settings.basic" ': ([] :: [Symbol])
type Rs UsersSettingsFiltersDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.Filters.Delete

Request Lenses

usfdUserId :: Lens' UsersSettingsFiltersDelete Text Source #

User's email address. The special value "me" can be used to indicate the authenticated user.

usfdId :: Lens' UsersSettingsFiltersDelete Text Source #

The ID of the filter to be deleted.