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 queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read Overview of Queue Management and queue.yaml before using this method.
See: Cloud Tasks API Reference for cloudtasks.projects.locations.queues.delete
.
Synopsis
- type ProjectsLocationsQueuesDeleteResource = "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)))))))
- projectsLocationsQueuesDelete :: Text -> ProjectsLocationsQueuesDelete
- data ProjectsLocationsQueuesDelete
- plqdXgafv :: Lens' ProjectsLocationsQueuesDelete (Maybe Xgafv)
- plqdUploadProtocol :: Lens' ProjectsLocationsQueuesDelete (Maybe Text)
- plqdAccessToken :: Lens' ProjectsLocationsQueuesDelete (Maybe Text)
- plqdUploadType :: Lens' ProjectsLocationsQueuesDelete (Maybe Text)
- plqdName :: Lens' ProjectsLocationsQueuesDelete Text
- plqdCallback :: Lens' ProjectsLocationsQueuesDelete (Maybe Text)
REST Resource
type ProjectsLocationsQueuesDeleteResource = "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.delete
method which the
ProjectsLocationsQueuesDelete
request conforms to.
Creating a Request
projectsLocationsQueuesDelete Source #
Creates a value of ProjectsLocationsQueuesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsQueuesDelete Source #
Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, a queue with the same name can't be created for 7 days. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read Overview of Queue Management and queue.yaml before using this method.
See: projectsLocationsQueuesDelete
smart constructor.
Instances
Request Lenses
plqdUploadProtocol :: Lens' ProjectsLocationsQueuesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plqdAccessToken :: Lens' ProjectsLocationsQueuesDelete (Maybe Text) Source #
OAuth access token.
plqdUploadType :: Lens' ProjectsLocationsQueuesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plqdName :: Lens' ProjectsLocationsQueuesDelete Text Source #
Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
plqdCallback :: Lens' ProjectsLocationsQueuesDelete (Maybe Text) Source #
JSONP