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

Contents

Description

Resume a queue. This method resumes a queue after it has been PAUSED or DISABLED. The state of a queue is stored in the queue's state; after calling this method it will be set to RUNNING. WARNING: Resuming many high-QPS queues at the same time can lead to target overloading. If you are resuming high-QPS queues, follow the 500/50/5 pattern described in Managing Cloud Tasks Scaling Risks.

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

Synopsis

REST Resource

type ProjectsLocationsQueuesResumeResource = "v2beta3" :> (CaptureMode "name" "resume" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResumeQueueRequest :> Post '[JSON] Queue)))))))) Source #

A resource alias for cloudtasks.projects.locations.queues.resume method which the ProjectsLocationsQueuesResume request conforms to.

Creating a Request

projectsLocationsQueuesResume Source #

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

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

data ProjectsLocationsQueuesResume Source #

Resume a queue. This method resumes a queue after it has been PAUSED or DISABLED. The state of a queue is stored in the queue's state; after calling this method it will be set to RUNNING. WARNING: Resuming many high-QPS queues at the same time can lead to target overloading. If you are resuming high-QPS queues, follow the 500/50/5 pattern described in Managing Cloud Tasks Scaling Risks.

See: projectsLocationsQueuesResume smart constructor.

Instances
Eq ProjectsLocationsQueuesResume Source # 
Instance details

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

Data ProjectsLocationsQueuesResume Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsQueuesResume -> Constr #

dataTypeOf :: ProjectsLocationsQueuesResume -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesResume Source # 
Instance details

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

Generic ProjectsLocationsQueuesResume Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsQueuesResume :: Type -> Type #

GoogleRequest ProjectsLocationsQueuesResume Source # 
Instance details

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

type Rep ProjectsLocationsQueuesResume Source # 
Instance details

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

type Rep ProjectsLocationsQueuesResume = D1 (MetaData "ProjectsLocationsQueuesResume" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Resume" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ProjectsLocationsQueuesResume'" PrefixI True) ((S1 (MetaSel (Just "_plqrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plqrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plqrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResumeQueueRequest)) :*: (S1 (MetaSel (Just "_plqrName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsQueuesResume Source # 
Instance details

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

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

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

Request Lenses

plqrUploadProtocol :: Lens' ProjectsLocationsQueuesResume (Maybe Text) Source #

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

plqrUploadType :: Lens' ProjectsLocationsQueuesResume (Maybe Text) Source #

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

plqrName :: Lens' ProjectsLocationsQueuesResume Text Source #

Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`