Google Cloud Client Libraries for Rust - Long Running Operations API
FEEDBACK WANTED: We believe the APIs in this crate are stable, and do not anticipate any breaking changes are needed. We are looking for feedback before labeling the APIs "1.0". Changes (even breaking changes) are still possible, but not expected.
We also believe the implementation is ready for production, bugs are still possible, but not expected.
WARNING: some RPCs have no corresponding Rust function to call them. Typically these are streaming RPCs. We expect adding these RPCs in a way that does not break the existing APIs or changes their behavior in a significant way. We do anticipate a number of new crate dependencies will be required. If you need these RPCs please open an issue in our GitHub repository.
Defines types and an abstract service to handle long-running operations.
Long-running operations are a common pattern to handle methods that may take a
significant amount of time to execute. Many Google APIs return an Operation
message (defined in this crate) that are roughly analogous to a future. The
operation will eventually complete, though it may still return an error on
completion. The client libraries provide helpers to simplify polling of these
operations.
This crate used to contain a different implementation, with a different surface. @yoshidan generously donated the crate name to Google. Their crate continues to live as gcloud-longrunning.
Quickstart
The main types to work with this crate are the clients:
More Information
- Read the crate's documentation