| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Prediction.TrainedModels.Update
Description
Add new data to a trained model.
See: Prediction API Reference for prediction.trainedmodels.update.
Synopsis
- type TrainedModelsUpdateResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Update :> Put '[JSON] Insert2)))))))
- trainedModelsUpdate :: Text -> Update -> Text -> TrainedModelsUpdate
- data TrainedModelsUpdate
- tmuProject :: Lens' TrainedModelsUpdate Text
- tmuPayload :: Lens' TrainedModelsUpdate Update
- tmuId :: Lens' TrainedModelsUpdate Text
REST Resource
type TrainedModelsUpdateResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Update :> Put '[JSON] Insert2))))))) Source #
A resource alias for prediction.trainedmodels.update method which the
TrainedModelsUpdate request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Update | |
| -> Text | |
| -> TrainedModelsUpdate |
Creates a value of TrainedModelsUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TrainedModelsUpdate Source #
Add new data to a trained model.
See: trainedModelsUpdate smart constructor.
Instances
Request Lenses
tmuProject :: Lens' TrainedModelsUpdate Text Source #
The project associated with the model.
tmuPayload :: Lens' TrainedModelsUpdate Update Source #
Multipart request metadata.