cloudoptimization_grpc_service_config.json 688 B

12345678910111213141516171819202122232425262728
  1. {
  2. "methodConfig": [{
  3. "name": [
  4. { "service": "google.cloud.optimization.v1.FleetRouting", "method": "OptimizeTours" }
  5. ],
  6. "timeout": "3600s",
  7. "retryPolicy": {
  8. "maxAttempts": 5,
  9. "initialBackoff": "1s",
  10. "maxBackoff": "10s",
  11. "backoffMultiplier": 1.3,
  12. "retryableStatusCodes": ["UNAVAILABLE"]
  13. }
  14. },
  15. {
  16. "name": [
  17. { "service": "google.cloud.optimization.v1.FleetRouting", "method": "BatchOptimizeTours" }
  18. ],
  19. "timeout": "60s",
  20. "retryPolicy": {
  21. "maxAttempts": 5,
  22. "initialBackoff": "1s",
  23. "maxBackoff": "10s",
  24. "backoffMultiplier": 1.3,
  25. "retryableStatusCodes": ["UNAVAILABLE"]
  26. }
  27. }]
  28. }