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.Patch

Contents

Description

Updates the specified Version resource. Currently the only update-able fields are `description` and `autoScaling.minNodes`.

See: Cloud Machine Learning Engine Reference for ml.projects.models.versions.patch.

Synopsis

REST Resource

type ProjectsModelsVersionsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudMlV1__Version :> Patch '[JSON] GoogleLongrunning__Operation))))))))) Source #

A resource alias for ml.projects.models.versions.patch method which the ProjectsModelsVersionsPatch request conforms to.

Creating a Request

projectsModelsVersionsPatch Source #

Creates a value of ProjectsModelsVersionsPatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsModelsVersionsPatch Source #

Updates the specified Version resource. Currently the only update-able fields are `description` and `autoScaling.minNodes`.

See: projectsModelsVersionsPatch smart constructor.

Instances
Eq ProjectsModelsVersionsPatch Source # 
Instance details

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

Data ProjectsModelsVersionsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsModelsVersionsPatch -> Constr #

dataTypeOf :: ProjectsModelsVersionsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsModelsVersionsPatch Source # 
Instance details

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

Generic ProjectsModelsVersionsPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsModelsVersionsPatch :: Type -> Type #

GoogleRequest ProjectsModelsVersionsPatch Source # 
Instance details

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

type Rep ProjectsModelsVersionsPatch Source # 
Instance details

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

type Rep ProjectsModelsVersionsPatch = D1 (MetaData "ProjectsModelsVersionsPatch" "Network.Google.Resource.Ml.Projects.Models.Versions.Patch" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsModelsVersionsPatch'" PrefixI True) (((S1 (MetaSel (Just "_pmvpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pmvpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pmvpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_pmvpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pmvpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmvpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudMlV1__Version)) :*: (S1 (MetaSel (Just "_pmvpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmvpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsModelsVersionsPatch Source # 
Instance details

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

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

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

Request Lenses

pmvpUploadProtocol :: Lens' ProjectsModelsVersionsPatch (Maybe Text) Source #

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

pmvpUpdateMask :: Lens' ProjectsModelsVersionsPatch (Maybe GFieldMask) Source #

Required. Specifies the path, relative to `Version`, of the field to update. Must be present and non-empty. For example, to change the description of a version to "foo", the `update_mask` parameter would be specified as `description`, and the `PATCH` request body would specify the new value, as follows: { "description": "foo" } Currently the only supported update mask fields are `description` and `autoScaling.minNodes`.

pmvpUploadType :: Lens' ProjectsModelsVersionsPatch (Maybe Text) Source #

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

pmvpName :: Lens' ProjectsModelsVersionsPatch Text Source #

Required. The name of the model.