operations_client_config.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "interfaces": {
  3. "google.longrunning.Operations": {
  4. "retry_codes": {
  5. "idempotent": [
  6. "DEADLINE_EXCEEDED",
  7. "UNAVAILABLE"
  8. ],
  9. "non_idempotent": []
  10. },
  11. "retry_params": {
  12. "default": {
  13. "initial_retry_delay_millis": 100,
  14. "retry_delay_multiplier": 1.3,
  15. "max_retry_delay_millis": 60000,
  16. "initial_rpc_timeout_millis": 90000,
  17. "rpc_timeout_multiplier": 1.0,
  18. "max_rpc_timeout_millis": 90000,
  19. "total_timeout_millis": 600000
  20. }
  21. },
  22. "methods": {
  23. "GetOperation": {
  24. "timeout_millis": 60000,
  25. "retry_codes_name": "idempotent",
  26. "retry_params_name": "default"
  27. },
  28. "ListOperations": {
  29. "timeout_millis": 60000,
  30. "retry_codes_name": "idempotent",
  31. "retry_params_name": "default"
  32. },
  33. "CancelOperation": {
  34. "timeout_millis": 60000,
  35. "retry_codes_name": "idempotent",
  36. "retry_params_name": "default"
  37. },
  38. "DeleteOperation": {
  39. "timeout_millis": 60000,
  40. "retry_codes_name": "idempotent",
  41. "retry_params_name": "default"
  42. }
  43. }
  44. }
  45. }
  46. }