Gets the latest state of a long-running operation.
The Operation object.
The name of the operation resource.