gogol-ml-0.4.0: Google Cloud Machine Learning Engine 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.Ml.Projects.Models.List

Contents

Description

Lists the models in a project. Each project can contain multiple models, and each model can have multiple versions. If there are no models that match the request parameters, the list request returns an empty response body: {}.

See: Cloud Machine Learning Engine Reference for ml.projects.models.list.

Synopsis

REST Resource

type ProjectsModelsListResource = "v1" :> (Capture "parent" Text :> ("models" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1__ListModelsResponse))))))))))) Source #

A resource alias for ml.projects.models.list method which the ProjectsModelsList request conforms to.

Creating a Request

projectsModelsList Source #

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

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

data ProjectsModelsList Source #

Lists the models in a project. Each project can contain multiple models, and each model can have multiple versions. If there are no models that match the request parameters, the list request returns an empty response body: {}.

See: projectsModelsList smart constructor.

Instances
Eq ProjectsModelsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.List

Data ProjectsModelsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.List

Methods

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

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

toConstr :: ProjectsModelsList -> Constr #

dataTypeOf :: ProjectsModelsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsModelsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.List

Generic ProjectsModelsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.List

Associated Types

type Rep ProjectsModelsList :: Type -> Type #

GoogleRequest ProjectsModelsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.List

Associated Types

type Rs ProjectsModelsList :: Type #

type Scopes ProjectsModelsList :: [Symbol] #

type Rep ProjectsModelsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.List

type Scopes ProjectsModelsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.List

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

Defined in Network.Google.Resource.Ml.Projects.Models.List

Request Lenses

pmlParent :: Lens' ProjectsModelsList Text Source #

Required. The name of the project whose models are to be listed.

pmlUploadProtocol :: Lens' ProjectsModelsList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pmlUploadType :: Lens' ProjectsModelsList (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pmlFilter :: Lens' ProjectsModelsList (Maybe Text) Source #

Optional. Specifies the subset of models to retrieve.

pmlPageToken :: Lens' ProjectsModelsList (Maybe Text) Source #

Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.

pmlPageSize :: Lens' ProjectsModelsList (Maybe Int32) Source #

Optional. The number of models to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.