Manages long-running operations with an API service.
When an API method normally takes long time to complete, it can be designed
to return [Operation][google.longrunning.Operation] to the client, and the client can use this
interface to receive the real response asynchronously by polling the
operation resource, or pass the operation resource to another API (such as
Google Cloud Pub/Sub API) to receive the response. Any API service that
returns long-running operations should implement the Operations interface
so developers can have a consistent client experience.
public static void BindService(ServiceBinderBase serviceBinder, Operations.OperationsBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eOperations\u003c/code\u003e class in the \u003ccode\u003eGoogle.LongRunning\u003c/code\u003e namespace manages long-running operations within an API service, allowing clients to asynchronously receive responses.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed for API methods that take an extended period to complete, returning an \u003ccode\u003eOperation\u003c/code\u003e that can be polled or used with other APIs for response retrieval.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperations\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and provides methods for service definition binding, including \u003ccode\u003eBindService(Operations.OperationsBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, Operations.OperationsBase)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods are used to register service methods with or without an implementation, such as when customizing service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperations\u003c/code\u003e interface ensures a consistent client experience across API services that employ long-running operations.\u003c/p\u003e\n"]]],[],null,[]]