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 |
Lists regions/{region}/jobs in a project.
See: Google Cloud Dataproc API Reference for dataproc.projects.regions.jobs.list
.
- type ProjectsRegionsJobsListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (QueryParam "jobStateMatcher" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "clusterName" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse)))))))))))))))))
- projectsRegionsJobsList :: Text -> Text -> ProjectsRegionsJobsList
- data ProjectsRegionsJobsList
- prjlJobStateMatcher :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlXgafv :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlUploadProtocol :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlPp :: Lens' ProjectsRegionsJobsList Bool
- prjlAccessToken :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlUploadType :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlBearerToken :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlClusterName :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlRegion :: Lens' ProjectsRegionsJobsList Text
- prjlPageToken :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlProjectId :: Lens' ProjectsRegionsJobsList Text
- prjlPageSize :: Lens' ProjectsRegionsJobsList (Maybe Int32)
- prjlCallback :: Lens' ProjectsRegionsJobsList (Maybe Text)
REST Resource
type ProjectsRegionsJobsListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (QueryParam "jobStateMatcher" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "clusterName" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse))))))))))))))))) Source #
A resource alias for dataproc.projects.regions.jobs.list
method which the
ProjectsRegionsJobsList
request conforms to.
Creating a Request
projectsRegionsJobsList Source #
Creates a value of ProjectsRegionsJobsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsJobsList Source #
Lists regions/{region}/jobs in a project.
See: projectsRegionsJobsList
smart constructor.
Request Lenses
prjlJobStateMatcher :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
- Optional
- Specifies enumerated categories of jobs to list.
prjlUploadProtocol :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prjlAccessToken :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
OAuth access token.
prjlUploadType :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prjlBearerToken :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
OAuth bearer token.
prjlClusterName :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
- Optional
- If set, the returned jobs list includes only jobs that were submitted to the named cluster.
prjlRegion :: Lens' ProjectsRegionsJobsList Text Source #
- Required
- The Cloud Dataproc region in which to handle the request.
prjlPageToken :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
- Optional
- The page token, returned by a previous call, to request the next page of results.
prjlProjectId :: Lens' ProjectsRegionsJobsList Text Source #
- Required
- The ID of the Google Cloud Platform project that the job belongs to.
prjlPageSize :: Lens' ProjectsRegionsJobsList (Maybe Int32) Source #
- Optional
- The number of results to return in each response.
prjlCallback :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
JSONP