[Doc] Add an UpdateRequest example to Java API doc

Closes #7083.

(cherry picked from commit f37355a)
[DOCS] Document ActionNames class and related tests

Closes #8759