gogol-prediction-0.4.0: Google Prediction 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.Prediction.TrainedModels.Insert

Contents

Description

Train a Prediction API model.

See: Prediction API Reference for prediction.trainedmodels.insert.

Synopsis

REST Resource

type TrainedModelsInsertResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Insert :> Post '[JSON] Insert2)))))) Source #

A resource alias for prediction.trainedmodels.insert method which the TrainedModelsInsert request conforms to.

Creating a Request

trainedModelsInsert Source #

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

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

data TrainedModelsInsert Source #

Train a Prediction API model.

See: trainedModelsInsert smart constructor.

Instances
Eq TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

Data TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

Methods

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

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

toConstr :: TrainedModelsInsert -> Constr #

dataTypeOf :: TrainedModelsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

Generic TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

Associated Types

type Rep TrainedModelsInsert :: Type -> Type #

GoogleRequest TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

Associated Types

type Rs TrainedModelsInsert :: Type #

type Scopes TrainedModelsInsert :: [Symbol] #

type Rep TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

type Rep TrainedModelsInsert = D1 (MetaData "TrainedModelsInsert" "Network.Google.Resource.Prediction.TrainedModels.Insert" "gogol-prediction-0.4.0-3Emw2XSeRhvKOHoYDjE9x0" False) (C1 (MetaCons "TrainedModelsInsert'" PrefixI True) (S1 (MetaSel (Just "_tmiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tmiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Insert)))
type Scopes TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

type Scopes TrainedModelsInsert = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/devstorage.full_control" ': ("https://www.googleapis.com/auth/devstorage.read_only" ': ("https://www.googleapis.com/auth/devstorage.read_write" ': ("https://www.googleapis.com/auth/prediction" ': ([] :: [Symbol])))))
type Rs TrainedModelsInsert Source # 
Instance details

Defined in Network.Google.Resource.Prediction.TrainedModels.Insert

Request Lenses

tmiProject :: Lens' TrainedModelsInsert Text Source #

The project associated with the model.

tmiPayload :: Lens' TrainedModelsInsert Insert Source #

Multipart request metadata.