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 |
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
- 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))))))))
- projectsLocationsQueuesResume :: ResumeQueueRequest -> Text -> ProjectsLocationsQueuesResume
- data ProjectsLocationsQueuesResume
- plqrXgafv :: Lens' ProjectsLocationsQueuesResume (Maybe Xgafv)
- plqrUploadProtocol :: Lens' ProjectsLocationsQueuesResume (Maybe Text)
- plqrAccessToken :: Lens' ProjectsLocationsQueuesResume (Maybe Text)
- plqrUploadType :: Lens' ProjectsLocationsQueuesResume (Maybe Text)
- plqrPayload :: Lens' ProjectsLocationsQueuesResume ResumeQueueRequest
- plqrName :: Lens' ProjectsLocationsQueuesResume Text
- plqrCallback :: Lens' ProjectsLocationsQueuesResume (Maybe Text)
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
Request Lenses
plqrUploadProtocol :: Lens' ProjectsLocationsQueuesResume (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plqrAccessToken :: Lens' ProjectsLocationsQueuesResume (Maybe Text) Source #
OAuth access token.
plqrUploadType :: Lens' ProjectsLocationsQueuesResume (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plqrPayload :: Lens' ProjectsLocationsQueuesResume ResumeQueueRequest Source #
Multipart request metadata.
plqrName :: Lens' ProjectsLocationsQueuesResume Text Source #
Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
plqrCallback :: Lens' ProjectsLocationsQueuesResume (Maybe Text) Source #
JSONP