gogol-ml-0.5.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.Delete

Contents

Description

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

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

projectsModelsDelete Source #

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

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

Data ProjectsModelsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsModelsDelete -> Constr #

dataTypeOf :: ProjectsModelsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsModelsDelete Source # 
Instance details

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

Generic ProjectsModelsDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsModelsDelete :: Type -> Type #

GoogleRequest ProjectsModelsDelete Source # 
Instance details

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

Associated Types

type Rs ProjectsModelsDelete :: Type #

type Scopes ProjectsModelsDelete :: [Symbol] #

type Rep ProjectsModelsDelete Source # 
Instance details

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

type Rep ProjectsModelsDelete = D1 (MetaData "ProjectsModelsDelete" "Network.Google.Resource.Ml.Projects.Models.Delete" "gogol-ml-0.5.0-8XR7sxzY8qO2MeVpVE9oiH" False) (C1 (MetaCons "ProjectsModelsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pmdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsModelsDelete Source # 
Instance details

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

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

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

Request Lenses

pmdUploadProtocol :: Lens' ProjectsModelsDelete (Maybe Text) Source #

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

pmdUploadType :: Lens' ProjectsModelsDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pmdName :: Lens' ProjectsModelsDelete Text Source #

Required. The name of the model.