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 |
Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a regional endpoint. Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.
See: Dataflow API Reference for dataflow.projects.jobs.get
.
Synopsis
- type ProjectsJobsGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Job))))))))))))
- projectsJobsGet :: Text -> Text -> ProjectsJobsGet
- data ProjectsJobsGet
- pjgXgafv :: Lens' ProjectsJobsGet (Maybe Xgafv)
- pjgJobId :: Lens' ProjectsJobsGet Text
- pjgUploadProtocol :: Lens' ProjectsJobsGet (Maybe Text)
- pjgLocation :: Lens' ProjectsJobsGet (Maybe Text)
- pjgAccessToken :: Lens' ProjectsJobsGet (Maybe Text)
- pjgUploadType :: Lens' ProjectsJobsGet (Maybe Text)
- pjgView :: Lens' ProjectsJobsGet (Maybe Text)
- pjgProjectId :: Lens' ProjectsJobsGet Text
- pjgCallback :: Lens' ProjectsJobsGet (Maybe Text)
REST Resource
type ProjectsJobsGetResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Job)))))))))))) Source #
A resource alias for dataflow.projects.jobs.get
method which the
ProjectsJobsGet
request conforms to.
Creating a Request
Creates a value of ProjectsJobsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsGet Source #
Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a regional endpoint. Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.
See: projectsJobsGet
smart constructor.
Instances
Request Lenses
pjgUploadProtocol :: Lens' ProjectsJobsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjgLocation :: Lens' ProjectsJobsGet (Maybe Text) Source #
The regional endpoint that contains this job.
pjgAccessToken :: Lens' ProjectsJobsGet (Maybe Text) Source #
OAuth access token.
pjgUploadType :: Lens' ProjectsJobsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjgView :: Lens' ProjectsJobsGet (Maybe Text) Source #
The level of information requested in response.
pjgProjectId :: Lens' ProjectsJobsGet Text Source #
The ID of the Cloud Platform project that the job belongs to.
pjgCallback :: Lens' ProjectsJobsGet (Maybe Text) Source #
JSONP