gogol-prediction-0.1.1: 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 # 
Data TrainedModelsInsert Source # 

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 # 
Generic TrainedModelsInsert Source # 
GoogleRequest TrainedModelsInsert Source # 
type Rep TrainedModelsInsert Source # 
type Rep TrainedModelsInsert = D1 (MetaData "TrainedModelsInsert" "Network.Google.Resource.Prediction.TrainedModels.Insert" "gogol-prediction-0.1.1-2BoD76G75odGmQGqBVrACp" False) (C1 (MetaCons "TrainedModelsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tmiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tmiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Insert))))
type Scopes TrainedModelsInsert Source # 
type Scopes TrainedModelsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/devstorage.full_control" ((:) Symbol "https://www.googleapis.com/auth/devstorage.read_only" ((:) Symbol "https://www.googleapis.com/auth/devstorage.read_write" ((:) Symbol "https://www.googleapis.com/auth/prediction" ([] Symbol)))))
type Rs TrainedModelsInsert Source # 

Request Lenses

tmiProject :: Lens' TrainedModelsInsert Text Source #

The project associated with the model.

tmiPayload :: Lens' TrainedModelsInsert Insert Source #

Multipart request metadata.