mediatranslation_grpc_service_config.json 542 B

12345678910111213141516171819
  1. {
  2. "methodConfig": [{
  3. "name": [{ "service": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService" }],
  4. "timeout": "400s",
  5. "retryPolicy": {
  6. "maxAttempts": 5,
  7. "initialBackoff": "1s",
  8. "maxBackoff": "60s",
  9. "backoffMultiplier": 1.3,
  10. "retryableStatusCodes": ["UNAVAILABLE", "UNKNOWN", "DEADLINE_EXCEEDED"]
  11. }
  12. },
  13. {
  14. "name": [
  15. { "service": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService", "method": "StreamingTranslateSpeech" }
  16. ],
  17. "timeout": "400s"
  18. }]
  19. }