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 version. Each model can have multiple versions deployed and in use at any given time. Use this method to remove a single version. Note: You cannot delete the version that is set as the default version of the model unless it is the only remaining version.
See: Cloud Machine Learning Engine Reference for ml.projects.models.versions.delete
.
Synopsis
- type ProjectsModelsVersionsDeleteResource = "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)))))))
- projectsModelsVersionsDelete :: Text -> ProjectsModelsVersionsDelete
- data ProjectsModelsVersionsDelete
- pmvdXgafv :: Lens' ProjectsModelsVersionsDelete (Maybe Xgafv)
- pmvdUploadProtocol :: Lens' ProjectsModelsVersionsDelete (Maybe Text)
- pmvdAccessToken :: Lens' ProjectsModelsVersionsDelete (Maybe Text)
- pmvdUploadType :: Lens' ProjectsModelsVersionsDelete (Maybe Text)
- pmvdName :: Lens' ProjectsModelsVersionsDelete Text
- pmvdCallback :: Lens' ProjectsModelsVersionsDelete (Maybe Text)
REST Resource
type ProjectsModelsVersionsDeleteResource = "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.versions.delete
method which the
ProjectsModelsVersionsDelete
request conforms to.
Creating a Request
projectsModelsVersionsDelete Source #
Creates a value of ProjectsModelsVersionsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsModelsVersionsDelete Source #
Deletes a model version. Each model can have multiple versions deployed and in use at any given time. Use this method to remove a single version. Note: You cannot delete the version that is set as the default version of the model unless it is the only remaining version.
See: projectsModelsVersionsDelete
smart constructor.
Instances
Request Lenses
pmvdUploadProtocol :: Lens' ProjectsModelsVersionsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmvdAccessToken :: Lens' ProjectsModelsVersionsDelete (Maybe Text) Source #
OAuth access token.
pmvdUploadType :: Lens' ProjectsModelsVersionsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmvdName :: Lens' ProjectsModelsVersionsDelete Text Source #
Required. The name of the version. You can get the names of all the versions of a model by calling projects.models.versions.list.
pmvdCallback :: Lens' ProjectsModelsVersionsDelete (Maybe Text) Source #
JSONP