Update api and java client to reflect latest api changes for dryRun operations