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: Cloud Dataproc API Reference for dataproc.projects.regions.jobs.list
.
Synopsis
- type ProjectsRegionsJobsListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (QueryParam "jobStateMatcher" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "clusterName" Text :> (QueryParam "filter" 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 Xgafv)
- prjlUploadProtocol :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlAccessToken :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlUploadType :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlClusterName :: Lens' ProjectsRegionsJobsList (Maybe Text)
- prjlFilter :: 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" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "clusterName" Text :> (QueryParam "filter" 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.
Instances
Request Lenses
prjlJobStateMatcher :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).If filter is provided, jobStateMatcher will be ignored.
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").
prjlClusterName :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.
prjlFilter :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #
Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is status.state or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or NON_ACTIVE. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *
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