1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- --
- :api: update-model-snapshot
- :request: UpdateModelSnapshotRequest
- :response: UpdateModelSnapshotResponse
- --
- [id="{upid}-{api}"]
- === Update Model Snapshot API
- The Update Model Snapshot API provides the ability to update a {ml} model snapshot.
- It accepts a +{request}+ object and responds
- with a +{response}+ object.
- [id="{upid}-{api}-request"]
- ==== Update Model Snapshot Request
- A +{request}+ requires the following arguments:
- ["source","java",subs="attributes,callouts,macros"]
- --------------------------------------------------
- include-tagged::{doc-tests-file}[{api}-request]
- --------------------------------------------------
- <1> Constructing a new request referencing existing `jobId` and `snapshotId` values.
- ==== Optional Arguments
- The following arguments are optional:
- ["source","java",subs="attributes,callouts,macros"]
- --------------------------------------------------
- include-tagged::{doc-tests-file}[{api}-description]
- --------------------------------------------------
- <1> The updated description of the {ml} model snapshot
- ["source","java",subs="attributes,callouts,macros"]
- --------------------------------------------------
- include-tagged::{doc-tests-file}[{api}-retain]
- --------------------------------------------------
- <1> The updated `retain` property of the {ml} model snapshot
- include::../execution.asciidoc[]
- [id="{upid}-{api}-response"]
- ==== Update Job Response
- A +{response}+ contains an acknowledgement of the update request and the full representation of the updated `ModelSnapshot` object
- ["source","java",subs="attributes,callouts,macros"]
- --------------------------------------------------
- include-tagged::{doc-tests-file}[{api}-response]
- --------------------------------------------------
- <1> An acknowledgement of the request
- <2> The updated `ModelSnapshot`
|