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 |
Deletes a model. You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete.
See: Cloud Machine Learning Engine Reference for ml.projects.models.delete
.
Synopsis
- type ProjectsModelsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleLongrunning__Operation)))))))
- projectsModelsDelete :: Text -> ProjectsModelsDelete
- data ProjectsModelsDelete
- pmdXgafv :: Lens' ProjectsModelsDelete (Maybe Xgafv)
- pmdUploadProtocol :: Lens' ProjectsModelsDelete (Maybe Text)
- pmdAccessToken :: Lens' ProjectsModelsDelete (Maybe Text)
- pmdUploadType :: Lens' ProjectsModelsDelete (Maybe Text)
- pmdName :: Lens' ProjectsModelsDelete Text
- pmdCallback :: Lens' ProjectsModelsDelete (Maybe Text)
REST Resource
type ProjectsModelsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleLongrunning__Operation))))))) Source #
A resource alias for ml.projects.models.delete
method which the
ProjectsModelsDelete
request conforms to.
Creating a Request
Creates a value of ProjectsModelsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsModelsDelete Source #
Deletes a model. You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete.
See: projectsModelsDelete
smart constructor.
Instances
Request Lenses
pmdUploadProtocol :: Lens' ProjectsModelsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmdAccessToken :: Lens' ProjectsModelsDelete (Maybe Text) Source #
OAuth access token.
pmdUploadType :: Lens' ProjectsModelsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmdCallback :: Lens' ProjectsModelsDelete (Maybe Text) Source #
JSONP