2

Many Dialogflow RPC methods return a Operation message/object which represents a long running operation. How do I check on the status of the operation and retrieve the result if the operation is completed?

Dialogflow gRPC methods that return an operation:

mattcarrollcode
  • 3,429
  • 16
  • 16

1 Answers1

0

The getOperation RPC method is used to get the status and response from a long running operation from methods that return an operation like export/import/restore/train agent and batch methods.

Here is the documentation for calling getOperation: https://dialogflow.com/docs/reference/api-v2/rpc/google.longrunning#google.longrunning.Operations.GetOperation

mattcarrollcode
  • 3,429
  • 16
  • 16