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 jobs.
See: Cloud Scheduler API Reference for cloudscheduler.projects.locations.jobs.list
.
Synopsis
- type ProjectsLocationsJobsListResource = "v1beta1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse))))))))))
- projectsLocationsJobsList :: Text -> ProjectsLocationsJobsList
- data ProjectsLocationsJobsList
- pljlParent :: Lens' ProjectsLocationsJobsList Text
- pljlXgafv :: Lens' ProjectsLocationsJobsList (Maybe Xgafv)
- pljlUploadProtocol :: Lens' ProjectsLocationsJobsList (Maybe Text)
- pljlAccessToken :: Lens' ProjectsLocationsJobsList (Maybe Text)
- pljlUploadType :: Lens' ProjectsLocationsJobsList (Maybe Text)
- pljlPageToken :: Lens' ProjectsLocationsJobsList (Maybe Text)
- pljlPageSize :: Lens' ProjectsLocationsJobsList (Maybe Int32)
- pljlCallback :: Lens' ProjectsLocationsJobsList (Maybe Text)
REST Resource
type ProjectsLocationsJobsListResource = "v1beta1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse)))))))))) Source #
A resource alias for cloudscheduler.projects.locations.jobs.list
method which the
ProjectsLocationsJobsList
request conforms to.
Creating a Request
projectsLocationsJobsList Source #
Creates a value of ProjectsLocationsJobsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsJobsList Source #
Lists jobs.
See: projectsLocationsJobsList
smart constructor.
Instances
Request Lenses
pljlParent :: Lens' ProjectsLocationsJobsList Text Source #
Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.
pljlUploadProtocol :: Lens' ProjectsLocationsJobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pljlAccessToken :: Lens' ProjectsLocationsJobsList (Maybe Text) Source #
OAuth access token.
pljlUploadType :: Lens' ProjectsLocationsJobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pljlPageToken :: Lens' ProjectsLocationsJobsList (Maybe Text) Source #
A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListJobs. It is an error to switch the value of filter or order_by while iterating through pages.
pljlPageSize :: Lens' ProjectsLocationsJobsList (Maybe Int32) Source #
Requested page size. The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use next_page_token to determine if more jobs exist.
pljlCallback :: Lens' ProjectsLocationsJobsList (Maybe Text) Source #
JSONP