| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | --:api: update-model-snapshot:request: UpdateModelSnapshotRequest:response: UpdateModelSnapshotResponse--[id="{upid}-{api}"]=== Update Model Snapshot APIThe Update Model Snapshot API provides the ability to update a {ml} model snapshot.It accepts a +{request}+ object and respondswith 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 snapshotinclude::../execution.asciidoc[][id="{upid}-{api}-response"]==== Update Job 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`
 |