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 |
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
- 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)))))))))
- projectsModelsVersionsPatch :: GoogleCloudMlV1__Version -> Text -> ProjectsModelsVersionsPatch
- data ProjectsModelsVersionsPatch
- pmvpXgafv :: Lens' ProjectsModelsVersionsPatch (Maybe Xgafv)
- pmvpUploadProtocol :: Lens' ProjectsModelsVersionsPatch (Maybe Text)
- pmvpUpdateMask :: Lens' ProjectsModelsVersionsPatch (Maybe GFieldMask)
- pmvpAccessToken :: Lens' ProjectsModelsVersionsPatch (Maybe Text)
- pmvpUploadType :: Lens' ProjectsModelsVersionsPatch (Maybe Text)
- pmvpPayload :: Lens' ProjectsModelsVersionsPatch GoogleCloudMlV1__Version
- pmvpName :: Lens' ProjectsModelsVersionsPatch Text
- pmvpCallback :: Lens' ProjectsModelsVersionsPatch (Maybe Text)
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
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`.
pmvpAccessToken :: Lens' ProjectsModelsVersionsPatch (Maybe Text) Source #
OAuth access token.
pmvpUploadType :: Lens' ProjectsModelsVersionsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmvpPayload :: Lens' ProjectsModelsVersionsPatch GoogleCloudMlV1__Version Source #
Multipart request metadata.
pmvpCallback :: Lens' ProjectsModelsVersionsPatch (Maybe Text) Source #
JSONP