gogol-ml-0.4.0: Google Cloud Machine Learning Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Ml.Projects.Models.Versions.Delete

Contents

Description

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

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
Eq ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

Data ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsModelsVersionsDelete -> c ProjectsModelsVersionsDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsModelsVersionsDelete #

toConstr :: ProjectsModelsVersionsDelete -> Constr #

dataTypeOf :: ProjectsModelsVersionsDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsModelsVersionsDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsModelsVersionsDelete) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsModelsVersionsDelete -> ProjectsModelsVersionsDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsModelsVersionsDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsModelsVersionsDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsModelsVersionsDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsModelsVersionsDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsModelsVersionsDelete -> m ProjectsModelsVersionsDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsModelsVersionsDelete -> m ProjectsModelsVersionsDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsModelsVersionsDelete -> m ProjectsModelsVersionsDelete #

Show ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

Generic ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

Associated Types

type Rep ProjectsModelsVersionsDelete :: Type -> Type #

GoogleRequest ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

type Rep ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

type Rep ProjectsModelsVersionsDelete = D1 (MetaData "ProjectsModelsVersionsDelete" "Network.Google.Resource.Ml.Projects.Models.Versions.Delete" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsModelsVersionsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pmvdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmvdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmvdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmvdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmvdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmvdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

type Scopes ProjectsModelsVersionsDelete = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsModelsVersionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Versions.Delete

Request Lenses

pmvdUploadProtocol :: Lens' ProjectsModelsVersionsDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

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.