You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned here you can add custom bindings. This sounds to me that we can create our own GetOperation/ListOperations method inside our own GrpcService like:
I think i am wrong here, sounds like i must use just implement the whole longrunning service
You are on the right track here.
Google services do not redefine the google.longrunning.Operations service directly in their own service protos. Instead, they implement it, and register their google.longrunning.Operations server implementation on their endpoint, just like one would do with implementing & registering their own gRPC service implementation.
As such, we don't see the proto definition you've included above in the .proto files being linted, so the assumption is that if an RPC returns a google.longrunning.Operation, it is leveraging the Operations service, not implementing it, and needs to conform to AIP-151.
Closing, but feel free to follow up with questions!
Google services do not redefine the google.longrunning.Operations service directly in their own service protos. Instead, they implement it, and register their google.longrunning.Operations server implementation on their endpoint, just like one would do with implementing & registering their own gRPC service implementation.
As mentioned here you can add custom bindings. This sounds to me that we can create our own GetOperation/ListOperations method inside our own GrpcService like:
but this will fail with
Maybe i can get some insights here, thank you 🙏
The text was updated successfully, but these errors were encountered: