documentai_v1_grpc_service_config.json 728 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.cloud.documentai.v1.DocumentProcessorService",
  7. "method": "ProcessDocument"
  8. },
  9. {
  10. "service": "google.cloud.documentai.v1.DocumentProcessorService",
  11. "method": "BatchProcessDocuments"
  12. },
  13. {
  14. "service": "google.cloud.documentai.v1.DocumentProcessorService",
  15. "method": "ReviewDocument"
  16. }
  17. ],
  18. "timeout": "120s",
  19. "retryPolicy": {
  20. "initialBackoff": "0.100s",
  21. "maxBackoff": "60s",
  22. "backoffMultiplier": 1.3,
  23. "retryableStatusCodes": [
  24. "DEADLINE_EXCEEDED",
  25. "UNAVAILABLE"
  26. ]
  27. }
  28. }
  29. ]
  30. }