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 resource representation for a job in a project.
See: Cloud Dataproc API Reference for dataproc.projects.regions.jobs.get
.
Synopsis
- type ProjectsRegionsJobsGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Job))))))))))))
- projectsRegionsJobsGet :: Text -> Text -> Text -> ProjectsRegionsJobsGet
- data ProjectsRegionsJobsGet
- prjgXgafv :: Lens' ProjectsRegionsJobsGet (Maybe Xgafv)
- prjgJobId :: Lens' ProjectsRegionsJobsGet Text
- prjgUploadProtocol :: Lens' ProjectsRegionsJobsGet (Maybe Text)
- prjgAccessToken :: Lens' ProjectsRegionsJobsGet (Maybe Text)
- prjgUploadType :: Lens' ProjectsRegionsJobsGet (Maybe Text)
- prjgRegion :: Lens' ProjectsRegionsJobsGet Text
- prjgProjectId :: Lens' ProjectsRegionsJobsGet Text
- prjgCallback :: Lens' ProjectsRegionsJobsGet (Maybe Text)
REST Resource
type ProjectsRegionsJobsGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Job)))))))))))) Source #
A resource alias for dataproc.projects.regions.jobs.get
method which the
ProjectsRegionsJobsGet
request conforms to.
Creating a Request
projectsRegionsJobsGet Source #
Creates a value of ProjectsRegionsJobsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsJobsGet Source #
Gets the resource representation for a job in a project.
See: projectsRegionsJobsGet
smart constructor.
Instances
Request Lenses
prjgUploadProtocol :: Lens' ProjectsRegionsJobsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prjgAccessToken :: Lens' ProjectsRegionsJobsGet (Maybe Text) Source #
OAuth access token.
prjgUploadType :: Lens' ProjectsRegionsJobsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prjgRegion :: Lens' ProjectsRegionsJobsGet Text Source #
Required. The Cloud Dataproc region in which to handle the request.
prjgProjectId :: Lens' ProjectsRegionsJobsGet Text Source #
Required. The ID of the Google Cloud Platform project that the job belongs to.
prjgCallback :: Lens' ProjectsRegionsJobsGet (Maybe Text) Source #
JSONP