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

Contents

Description

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

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
Eq ProjectsLocationsQueuesDelete Source # 
Instance details

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

Data ProjectsLocationsQueuesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsQueuesDelete -> Constr #

dataTypeOf :: ProjectsLocationsQueuesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesDelete Source # 
Instance details

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

Generic ProjectsLocationsQueuesDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsQueuesDelete :: Type -> Type #

GoogleRequest ProjectsLocationsQueuesDelete Source # 
Instance details

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

type Rep ProjectsLocationsQueuesDelete Source # 
Instance details

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

type Rep ProjectsLocationsQueuesDelete = D1 (MetaData "ProjectsLocationsQueuesDelete" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Delete" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ProjectsLocationsQueuesDelete'" PrefixI True) ((S1 (MetaSel (Just "_plqdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plqdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_plqdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plqdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsQueuesDelete Source # 
Instance details

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

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

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

Request Lenses

plqdUploadProtocol :: Lens' ProjectsLocationsQueuesDelete (Maybe Text) Source #

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

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`