gogol-prediction-0.0.1: Google Prediction SDK.

Copyright(c) 2015 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.HostedModels.Predict

Contents

Description

Submit input and request an output against a hosted model.

See: Prediction API Reference for prediction.hostedmodels.predict.

Synopsis

REST Resource

type HostedModelsPredictResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("hostedmodels" :> (Capture "hostedModelName" Text :> ("predict" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Input :> Post `[JSON]` Output)))))))) Source

A resource alias for prediction.hostedmodels.predict method which the HostedModelsPredict request conforms to.

Creating a Request

hostedModelsPredict Source

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

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

Request Lenses

hmpProject :: Lens' HostedModelsPredict Text Source

The project associated with the model.

hmpPayload :: Lens' HostedModelsPredict Input Source

Multipart request metadata.