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.
See: Google Cloud Machine Learning Reference for ml.projects.models.list
.
- type ProjectsModelsListResource = "v1beta1" :> (Capture "parent" Text :> ("models" :> (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__ListModelsResponse))))))))))))
- projectsModelsList :: Text -> ProjectsModelsList
- data ProjectsModelsList
- pmlParent :: Lens' ProjectsModelsList Text
- pmlXgafv :: Lens' ProjectsModelsList (Maybe Xgafv)
- pmlUploadProtocol :: Lens' ProjectsModelsList (Maybe Text)
- pmlPp :: Lens' ProjectsModelsList Bool
- pmlAccessToken :: Lens' ProjectsModelsList (Maybe Text)
- pmlUploadType :: Lens' ProjectsModelsList (Maybe Text)
- pmlBearerToken :: Lens' ProjectsModelsList (Maybe Text)
- pmlPageToken :: Lens' ProjectsModelsList (Maybe Text)
- pmlPageSize :: Lens' ProjectsModelsList (Maybe Int32)
- pmlCallback :: Lens' ProjectsModelsList (Maybe Text)
REST Resource
type ProjectsModelsListResource = "v1beta1" :> (Capture "parent" Text :> ("models" :> (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__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.
See: projectsModelsList
smart constructor.
Request Lenses
pmlParent :: Lens' ProjectsModelsList Text Source #
Required. The name of the project whose models are to be listed. Authorization: requires `Viewer` role on the specified project.
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").
pmlBearerToken :: Lens' ProjectsModelsList (Maybe Text) Source #
OAuth bearer token.
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