| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | --:api: update-model-snapshot:request: UpdateModelSnapshotRequest:response: UpdateModelSnapshotResponse--[id="{upid}-{api}"]=== Update model snapshot APIProvides 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 requestA +{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 argumentsThe 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 model snapshot responseA +{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`.
 |