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.Create

Contents

Description

Creates a training or a batch prediction job.

See: Cloud Machine Learning Engine Reference for ml.projects.jobs.create.

Synopsis

REST Resource

type ProjectsJobsCreateResource = "v1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudMlV1__Job :> Post '[JSON] GoogleCloudMlV1__Job))))))))) Source #

A resource alias for ml.projects.jobs.create method which the ProjectsJobsCreate request conforms to.

Creating a Request

projectsJobsCreate Source #

Creates a value of ProjectsJobsCreate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsJobsCreate Source #

Creates a training or a batch prediction job.

See: projectsJobsCreate smart constructor.

Instances
Eq ProjectsJobsCreate Source # 
Instance details

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

Data ProjectsJobsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsJobsCreate -> Constr #

dataTypeOf :: ProjectsJobsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsJobsCreate Source # 
Instance details

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

Generic ProjectsJobsCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsJobsCreate :: Type -> Type #

GoogleRequest ProjectsJobsCreate Source # 
Instance details

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

Associated Types

type Rs ProjectsJobsCreate :: Type #

type Scopes ProjectsJobsCreate :: [Symbol] #

type Rep ProjectsJobsCreate Source # 
Instance details

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

type Scopes ProjectsJobsCreate Source # 
Instance details

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

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

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

Request Lenses

pParent :: Lens' ProjectsJobsCreate Text Source #

Required. The project name.

pUploadProtocol :: Lens' ProjectsJobsCreate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pUploadType :: Lens' ProjectsJobsCreate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").