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

Contents

Description

Gets basic information about all the versions of a model. If you expect that a model has many 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). If there are no versions that match the request parameters, the list request returns an empty response body: {}.

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

Synopsis

REST Resource

type ProjectsModelsVersionsListResource = "v1" :> (Capture "parent" Text :> ("versions" :> (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__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 many 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). If there are no versions that match the request parameters, the list request returns an empty response body: {}.

See: projectsModelsVersionsList smart constructor.

Instances
Eq ProjectsModelsVersionsList Source # 
Instance details

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

Data ProjectsModelsVersionsList Source # 
Instance details

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

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 # 
Instance details

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

Generic ProjectsModelsVersionsList Source # 
Instance details

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

Associated Types

type Rep ProjectsModelsVersionsList :: Type -> Type #

GoogleRequest ProjectsModelsVersionsList Source # 
Instance details

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

type Rep ProjectsModelsVersionsList Source # 
Instance details

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

type Rep ProjectsModelsVersionsList = D1 (MetaData "ProjectsModelsVersionsList" "Network.Google.Resource.Ml.Projects.Models.Versions.List" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsModelsVersionsList'" PrefixI True) (((S1 (MetaSel (Just "_pmvlParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmvlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pmvlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmvlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pmvlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmvlFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pmvlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmvlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pmvlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsModelsVersionsList Source # 
Instance details

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

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

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

Request Lenses

pmvlParent :: Lens' ProjectsModelsVersionsList Text Source #

Required. The name of the model for which to list the version.

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").

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

Optional. Specifies the subset of versions to retrieve.

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.