gogol-ml-0.2.0: Google Cloud Machine Learning 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.Versions.List

Contents

Description

Gets basic information about all the versions of a model. If you expect that a model has a lot of versions, or if you need to handle only a limited number of results at a time, you can request that the list be retrieved in batches (called pages):

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

Synopsis

REST Resource

type ProjectsModelsVersionsListResource = "v1beta1" :> (Capture "parent" Text :> ("versions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1beta1__ListVersionsResponse)))))))))))) Source #

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

Creating a Request

projectsModelsVersionsList Source #

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

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

data ProjectsModelsVersionsList Source #

Gets basic information about all the versions of a model. If you expect that a model has a lot of versions, or if you need to handle only a limited number of results at a time, you can request that the list be retrieved in batches (called pages):

See: projectsModelsVersionsList smart constructor.

Instances

Eq ProjectsModelsVersionsList Source # 
Data ProjectsModelsVersionsList Source # 

Methods

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

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

toConstr :: ProjectsModelsVersionsList -> Constr #

dataTypeOf :: ProjectsModelsVersionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsModelsVersionsList Source # 
Generic ProjectsModelsVersionsList Source # 
GoogleRequest ProjectsModelsVersionsList Source # 
type Rep ProjectsModelsVersionsList Source # 
type Scopes ProjectsModelsVersionsList Source # 
type Scopes ProjectsModelsVersionsList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsModelsVersionsList Source # 

Request Lenses

pmvlParent :: Lens' ProjectsModelsVersionsList Text Source #

Required. The name of the model for which to list the version. Authorization: requires `Viewer` role on the parent project.

pmvlUploadProtocol :: Lens' ProjectsModelsVersionsList (Maybe Text) Source #

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

pmvlUploadType :: Lens' ProjectsModelsVersionsList (Maybe Text) Source #

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

pmvlPageToken :: Lens' ProjectsModelsVersionsList (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.

pmvlPageSize :: Lens' ProjectsModelsVersionsList (Maybe Int32) Source #

Optional. The number of versions 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.