run_grpc_service_config.json 754 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "methodConfig": [{
  3. "name": [
  4. { "service": "google.cloud.run.v2.Services", "method": "ListServices" },
  5. { "service": "google.cloud.run.v2.Services", "method": "GetService" }
  6. ],
  7. "timeout": "10s",
  8. "retryPolicy": {
  9. "maxAttempts": 5,
  10. "initialBackoff": "1s",
  11. "maxBackoff": "10s",
  12. "backoffMultiplier": 1.3,
  13. "retryableStatusCodes": ["UNAVAILABLE"]
  14. }
  15. },
  16. {
  17. "name": [
  18. { "service": "google.cloud.run.v2.Services", "method": "CreateService" },
  19. { "service": "google.cloud.run.v2.Services", "method": "UpdateService" }
  20. ],
  21. "timeout": "15s"
  22. },
  23. {
  24. "name": [
  25. { "service": "google.cloud.run.v2.Services", "method": "DeleteService" }
  26. ],
  27. "timeout": "10s"
  28. }]
  29. }