gogol-cloudtasks-0.4.0: Google Cloud Tasks 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.CloudTasks.Projects.Locations.Queues.Tasks.Delete

Contents

Description

Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has executed successfully or permanently failed.

See: Cloud Tasks API Reference for cloudtasks.projects.locations.queues.tasks.delete.

Synopsis

REST Resource

type ProjectsLocationsQueuesTasksDeleteResource = "v2beta3" :> (Capture "name" 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 cloudtasks.projects.locations.queues.tasks.delete method which the ProjectsLocationsQueuesTasksDelete request conforms to.

Creating a Request

projectsLocationsQueuesTasksDelete Source #

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

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

data ProjectsLocationsQueuesTasksDelete Source #

Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has executed successfully or permanently failed.

See: projectsLocationsQueuesTasksDelete smart constructor.

Instances
Eq ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

Data ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

Methods

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

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

toConstr :: ProjectsLocationsQueuesTasksDelete -> Constr #

dataTypeOf :: ProjectsLocationsQueuesTasksDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

Generic ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

Associated Types

type Rep ProjectsLocationsQueuesTasksDelete :: Type -> Type #

GoogleRequest ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

type Rep ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

type Rep ProjectsLocationsQueuesTasksDelete = D1 (MetaData "ProjectsLocationsQueuesTasksDelete" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ProjectsLocationsQueuesTasksDelete'" PrefixI True) ((S1 (MetaSel (Just "_plqtdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plqtdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqtdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_plqtdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plqtdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqtdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

type Scopes ProjectsLocationsQueuesTasksDelete = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsLocationsQueuesTasksDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Delete

Request Lenses

plqtdUploadProtocol :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text) Source #

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

plqtdUploadType :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text) Source #

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

plqtdName :: Lens' ProjectsLocationsQueuesTasksDelete Text Source #

Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`