2018-11-20 07:18:29 -05:00
|
|
|
--
|
|
|
|
:api: update-model-snapshot
|
|
|
|
:request: UpdateModelSnapshotRequest
|
|
|
|
:response: UpdateModelSnapshotResponse
|
|
|
|
--
|
|
|
|
[id="{upid}-{api}"]
|
2019-08-06 14:05:01 -04:00
|
|
|
=== Update model snapshot API
|
2018-11-20 07:18:29 -05:00
|
|
|
|
2019-08-06 14:05:01 -04:00
|
|
|
Provides the ability to update a {ml} model snapshot.
|
|
|
|
It accepts a +{request}+ object and responds with a +{response}+ object.
|
2018-11-20 07:18:29 -05:00
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-08-06 14:05:01 -04:00
|
|
|
==== Update model snapshot request
|
2018-11-20 07:18:29 -05:00
|
|
|
|
|
|
|
A +{request}+ requires the following arguments:
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
--------------------------------------------------
|
2019-08-06 14:05:01 -04:00
|
|
|
<1> Constructing a new request referencing existing `jobId` and `snapshotId`
|
|
|
|
values.
|
2018-11-20 07:18:29 -05:00
|
|
|
|
2019-08-06 14:05:01 -04:00
|
|
|
==== Optional arguments
|
2018-11-20 07:18:29 -05:00
|
|
|
|
|
|
|
The following arguments are optional:
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-description]
|
|
|
|
--------------------------------------------------
|
2019-08-06 14:05:01 -04:00
|
|
|
<1> The updated description of the {ml} model snapshot.
|
2018-11-20 07:18:29 -05:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-retain]
|
|
|
|
--------------------------------------------------
|
2019-08-06 14:05:01 -04:00
|
|
|
<1> The updated `retain` property of the {ml} model snapshot.
|
2018-11-20 07:18:29 -05:00
|
|
|
|
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
2019-08-06 14:05:01 -04:00
|
|
|
==== Update model snapshot response
|
2018-11-20 07:18:29 -05:00
|
|
|
|
|
|
|
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]
|
|
|
|
--------------------------------------------------
|
2019-08-06 14:05:01 -04:00
|
|
|
<1> An acknowledgement of the request.
|
|
|
|
<2> The updated `ModelSnapshot`.
|