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 |
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
- 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)))))))))))
- projectsModelsList :: Text -> ProjectsModelsList
- data ProjectsModelsList
- pmlParent :: Lens' ProjectsModelsList Text
- pmlXgafv :: Lens' ProjectsModelsList (Maybe Xgafv)
- pmlUploadProtocol :: Lens' ProjectsModelsList (Maybe Text)
- pmlAccessToken :: Lens' ProjectsModelsList (Maybe Text)
- pmlUploadType :: Lens' ProjectsModelsList (Maybe Text)
- pmlFilter :: Lens' ProjectsModelsList (Maybe Text)
- pmlPageToken :: Lens' ProjectsModelsList (Maybe Text)
- pmlPageSize :: Lens' ProjectsModelsList (Maybe Int32)
- pmlCallback :: Lens' ProjectsModelsList (Maybe Text)
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
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
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").
pmlAccessToken :: Lens' ProjectsModelsList (Maybe Text) Source #
OAuth access token.
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.
pmlCallback :: Lens' ProjectsModelsList (Maybe Text) Source #
JSONP