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 the jobs in the project. If there are no jobs that match the request parameters, the list request returns an empty response body: {}.
See: Cloud Machine Learning Engine Reference for ml.projects.jobs.list
.
Synopsis
- type ProjectsJobsListResource = "v1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1__ListJobsResponse)))))))))))
- projectsJobsList :: Text -> ProjectsJobsList
- data ProjectsJobsList
- pjlParent :: Lens' ProjectsJobsList Text
- pjlXgafv :: Lens' ProjectsJobsList (Maybe Xgafv)
- pjlUploadProtocol :: Lens' ProjectsJobsList (Maybe Text)
- pjlAccessToken :: Lens' ProjectsJobsList (Maybe Text)
- pjlUploadType :: Lens' ProjectsJobsList (Maybe Text)
- pjlFilter :: Lens' ProjectsJobsList (Maybe Text)
- pjlPageToken :: Lens' ProjectsJobsList (Maybe Text)
- pjlPageSize :: Lens' ProjectsJobsList (Maybe Int32)
- pjlCallback :: Lens' ProjectsJobsList (Maybe Text)
REST Resource
type ProjectsJobsListResource = "v1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1__ListJobsResponse))))))))))) Source #
A resource alias for ml.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 #
Lists the jobs in the project. If there are no jobs that match the request parameters, the list request returns an empty response body: {}.
See: projectsJobsList
smart constructor.
Instances
Request Lenses
pjlParent :: Lens' ProjectsJobsList Text Source #
Required. The name of the project for which to list jobs.
pjlUploadProtocol :: Lens' ProjectsJobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjlAccessToken :: Lens' ProjectsJobsList (Maybe Text) Source #
OAuth access token.
pjlUploadType :: Lens' ProjectsJobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjlFilter :: Lens' ProjectsJobsList (Maybe Text) Source #
Optional. Specifies the subset of jobs to retrieve. You can filter on the value of one or more attributes of the job object. For example, retrieve jobs with a job identifier that starts with 'census':
'gcloud ml-engine jobs list --filter='jobId:census*''
List all failed jobs with names that start with 'rnn':
'gcloud ml-engine jobs list --filter='jobId:rnn* AND state:FAILED''
For more examples, see the guide to monitoring jobs.
pjlPageToken :: Lens' ProjectsJobsList (Maybe Text) Source #
Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.
pjlPageSize :: Lens' ProjectsJobsList (Maybe Int32) Source #
Optional. The number of jobs to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.
pjlCallback :: Lens' ProjectsJobsList (Maybe Text) Source #
JSONP