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

Contents

Description

List available models.

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

Synopsis

REST Resource

type TrainedModelsListResource = "prediction" :> ("v1.6" :> ("projects" :> (Capture "project" Text :> ("trainedmodels" :> ("list" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] List)))))))) Source #

A resource alias for prediction.trainedmodels.list method which the TrainedModelsList request conforms to.

Creating a Request

trainedModelsList Source #

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

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

data TrainedModelsList Source #

List available models.

See: trainedModelsList smart constructor.

Instances
Eq TrainedModelsList Source # 
Instance details

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

Data TrainedModelsList Source # 
Instance details

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

Methods

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

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

toConstr :: TrainedModelsList -> Constr #

dataTypeOf :: TrainedModelsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TrainedModelsList Source # 
Instance details

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

Generic TrainedModelsList Source # 
Instance details

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

Associated Types

type Rep TrainedModelsList :: Type -> Type #

GoogleRequest TrainedModelsList Source # 
Instance details

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

Associated Types

type Rs TrainedModelsList :: Type #

type Scopes TrainedModelsList :: [Symbol] #

type Rep TrainedModelsList Source # 
Instance details

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

type Rep TrainedModelsList = D1 (MetaData "TrainedModelsList" "Network.Google.Resource.Prediction.TrainedModels.List" "gogol-prediction-0.4.0-3Emw2XSeRhvKOHoYDjE9x0" False) (C1 (MetaCons "TrainedModelsList'" PrefixI True) (S1 (MetaSel (Just "_tmlProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_tmlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tmlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))
type Scopes TrainedModelsList Source # 
Instance details

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

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

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

Request Lenses

tmlProject :: Lens' TrainedModelsList Text Source #

The project associated with the model.

tmlMaxResults :: Lens' TrainedModelsList (Maybe Word32) Source #

Maximum number of results to return.