robot-contrib d66e99ee21 Update contrib/libs/googleapis-common-protos to 1.59.0 | 1 year ago | |
---|---|---|
.. | ||
README.md | 06e5c21a83 fix ya.make | 2 years ago |
operations.proto | d66e99ee21 Update contrib/libs/googleapis-common-protos to 1.59.0 | 1 year ago |
This package contains the definition of an abstract interface that manages long running operations with API services.
The primary message to understand within LRO is the Operation
message.
Operations have a unique name (in the context of a particular endpoint).
Additionally, a service (called Operations
-- plural) defines the interface
for querying the state of any given operation.
APIs that implement a concept of long-running operations are encouraged to follow this pattern: When a caller invokes an API backend to start a job...
Operation
name) to refer
to the ongoing asychronous work.Operation
back to the caller.Operations
service
to get the current status of the asychronous work, and also to
discover the final result (success or error).For Google APIs, the implementation of this pattern and the use of this proto are part of our design rules. Additionally, our API client tooling seeks to be intelligent about these, to improve the client API consumption experience. Therefore, APIs outside of Google can also benefit by following this same pattern.