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 |
List the jobs of a project in a given region.
See: Dataflow API Reference for dataflow.projects.jobs.list
.
Synopsis
- type ProjectsJobsListResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse))))))))))))))
- projectsJobsList :: Text -> ProjectsJobsList
- data ProjectsJobsList
- pjlXgafv :: Lens' ProjectsJobsList (Maybe Xgafv)
- pjlUploadProtocol :: Lens' ProjectsJobsList (Maybe Text)
- pjlLocation :: Lens' ProjectsJobsList (Maybe Text)
- pjlAccessToken :: Lens' ProjectsJobsList (Maybe Text)
- pjlUploadType :: Lens' ProjectsJobsList (Maybe Text)
- pjlView :: Lens' ProjectsJobsList (Maybe Text)
- pjlFilter :: Lens' ProjectsJobsList (Maybe Text)
- pjlPageToken :: Lens' ProjectsJobsList (Maybe Text)
- pjlProjectId :: Lens' ProjectsJobsList Text
- pjlPageSize :: Lens' ProjectsJobsList (Maybe Int32)
- pjlCallback :: Lens' ProjectsJobsList (Maybe Text)
REST Resource
type ProjectsJobsListResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "view" 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 dataflow.projects.jobs.list
method which the
ProjectsJobsList
request conforms to.
Creating a Request
Creates a value of ProjectsJobsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsList Source #
List the jobs of a project in a given region.
See: projectsJobsList
smart constructor.
Instances
Request Lenses
pjlUploadProtocol :: Lens' ProjectsJobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjlLocation :: Lens' ProjectsJobsList (Maybe Text) Source #
The location that contains this job.
pjlAccessToken :: Lens' ProjectsJobsList (Maybe Text) Source #
OAuth access token.
pjlUploadType :: Lens' ProjectsJobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjlView :: Lens' ProjectsJobsList (Maybe Text) Source #
Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
pjlPageToken :: Lens' ProjectsJobsList (Maybe Text) Source #
Set this to the 'next_page_token' field of a previous response to request additional results in a long list.
pjlProjectId :: Lens' ProjectsJobsList Text Source #
The project which owns the jobs.
pjlPageSize :: Lens' ProjectsJobsList (Maybe Int32) Source #
If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
pjlCallback :: Lens' ProjectsJobsList (Maybe Text) Source #
JSONP