gogol-ml-0.4.0: Google Cloud Machine Learning Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Ml.Projects.Jobs.List

Contents

Description

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

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

projectsJobsList Source #

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
Eq ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

Data ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsJobsList -> c ProjectsJobsList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsJobsList #

toConstr :: ProjectsJobsList -> Constr #

dataTypeOf :: ProjectsJobsList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsJobsList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsJobsList) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsJobsList -> ProjectsJobsList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsJobsList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsJobsList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsJobsList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsJobsList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsJobsList -> m ProjectsJobsList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsJobsList -> m ProjectsJobsList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsJobsList -> m ProjectsJobsList #

Show ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

Generic ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

Associated Types

type Rep ProjectsJobsList :: Type -> Type #

GoogleRequest ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

Associated Types

type Rs ProjectsJobsList :: Type #

type Scopes ProjectsJobsList :: [Symbol] #

type Rep ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

type Scopes ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

type Scopes ProjectsJobsList = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsJobsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.List

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").

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.