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 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
.
- 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))))))))))))
- projectsModelsVersionsList :: Text -> ProjectsModelsVersionsList
- data ProjectsModelsVersionsList
- pmvlParent :: Lens' ProjectsModelsVersionsList Text
- pmvlXgafv :: Lens' ProjectsModelsVersionsList (Maybe Xgafv)
- pmvlUploadProtocol :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlPp :: Lens' ProjectsModelsVersionsList Bool
- pmvlAccessToken :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlUploadType :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlBearerToken :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlPageToken :: Lens' ProjectsModelsVersionsList (Maybe Text)
- pmvlPageSize :: Lens' ProjectsModelsVersionsList (Maybe Int32)
- pmvlCallback :: Lens' ProjectsModelsVersionsList (Maybe Text)
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.
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").
pmvlAccessToken :: Lens' ProjectsModelsVersionsList (Maybe Text) Source #
OAuth access token.
pmvlUploadType :: Lens' ProjectsModelsVersionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmvlBearerToken :: Lens' ProjectsModelsVersionsList (Maybe Text) Source #
OAuth bearer token.
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