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 |
Forces a job to run now. When this method is called, Cloud Scheduler will dispatch the job, even if the job is already running.
See: Cloud Scheduler API Reference for cloudscheduler.projects.locations.jobs.run
.
Synopsis
- type ProjectsLocationsJobsRunResource = "v1beta1" :> (CaptureMode "name" "run" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunJobRequest :> Post '[JSON] Job))))))))
- projectsLocationsJobsRun :: RunJobRequest -> Text -> ProjectsLocationsJobsRun
- data ProjectsLocationsJobsRun
- pXgafv :: Lens' ProjectsLocationsJobsRun (Maybe Xgafv)
- pUploadProtocol :: Lens' ProjectsLocationsJobsRun (Maybe Text)
- pAccessToken :: Lens' ProjectsLocationsJobsRun (Maybe Text)
- pUploadType :: Lens' ProjectsLocationsJobsRun (Maybe Text)
- pPayload :: Lens' ProjectsLocationsJobsRun RunJobRequest
- pName :: Lens' ProjectsLocationsJobsRun Text
- pCallback :: Lens' ProjectsLocationsJobsRun (Maybe Text)
REST Resource
type ProjectsLocationsJobsRunResource = "v1beta1" :> (CaptureMode "name" "run" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunJobRequest :> Post '[JSON] Job)))))))) Source #
A resource alias for cloudscheduler.projects.locations.jobs.run
method which the
ProjectsLocationsJobsRun
request conforms to.
Creating a Request
projectsLocationsJobsRun Source #
Creates a value of ProjectsLocationsJobsRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsJobsRun Source #
Forces a job to run now. When this method is called, Cloud Scheduler will dispatch the job, even if the job is already running.
See: projectsLocationsJobsRun
smart constructor.
Instances
Request Lenses
pUploadProtocol :: Lens' ProjectsLocationsJobsRun (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pAccessToken :: Lens' ProjectsLocationsJobsRun (Maybe Text) Source #
OAuth access token.
pUploadType :: Lens' ProjectsLocationsJobsRun (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pPayload :: Lens' ProjectsLocationsJobsRun RunJobRequest Source #
Multipart request metadata.