longrunning_grpc_service_config.json 758 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.longrunning.Operations",
  7. "method": "GetOperation"
  8. },
  9. {
  10. "service": "google.longrunning.Operations",
  11. "method": "ListOperations"
  12. },
  13. {
  14. "service": "google.longrunning.Operations",
  15. "method": "CancelOperation"
  16. },
  17. {
  18. "service": "google.longrunning.Operations",
  19. "method": "DeleteOperation"
  20. }
  21. ],
  22. "timeout": "10s",
  23. "retryPolicy": {
  24. "maxAttempts": 5,
  25. "initialBackoff": "0.5s",
  26. "maxBackoff": "10s",
  27. "backoffMultiplier": 2.0,
  28. "retryableStatusCodes": [
  29. "UNAVAILABLE"
  30. ]
  31. }
  32. }
  33. ]
  34. }