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 |
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
- 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)))))))))))
- projectsModelsVersionsList :: Text -> ProjectsModelsVersionsList
- data ProjectsModelsVersionsList
- pmvlParent :: Lens' ProjectsModelsVersionsList Text
- pmvlXgafv :: Lens' ProjectsModelsVersionsList (Maybe Xgafv)
- pmvlUploadProtocol :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlAccessToken :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlUploadType :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlFilter :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlPageToken :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlPageSize :: Lens' ProjectsModelsVersionsList (Maybe Int32)
- pmvlCallback :: Lens' ProjectsModelsVersionsList (Maybe Text)
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
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").
pmvlAccessToken :: Lens' ProjectsModelsVersionsList (Maybe Text) Source #
OAuth access token.
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.
pmvlCallback :: Lens' ProjectsModelsVersionsList (Maybe Text) Source #
JSONP