Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))
- projectsLocationsQueuesTasksDelete :: Text -> ProjectsLocationsQueuesTasksDelete
- data ProjectsLocationsQueuesTasksDelete
- plqtdXgafv :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Xgafv)
- plqtdUploadProtocol :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text)
- plqtdAccessToken :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text)
- plqtdUploadType :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text)
- plqtdName :: Lens' ProjectsLocationsQueuesTasksDelete Text
- plqtdCallback :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text)
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
Request Lenses
plqtdXgafv :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Xgafv) Source #
V1 error format.
plqtdUploadProtocol :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plqtdAccessToken :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text) Source #
OAuth access token.
plqtdUploadType :: Lens' ProjectsLocationsQueuesTasksDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").