firestore_grpc_service_config.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.firestore.v1beta1.Firestore",
  7. "method": "GetDocument"
  8. },
  9. {
  10. "service": "google.firestore.v1beta1.Firestore",
  11. "method": "ListDocuments"
  12. },
  13. {
  14. "service": "google.firestore.v1beta1.Firestore",
  15. "method": "DeleteDocument"
  16. },
  17. {
  18. "service": "google.firestore.v1beta1.Firestore",
  19. "method": "BeginTransaction"
  20. },
  21. {
  22. "service": "google.firestore.v1beta1.Firestore",
  23. "method": "Rollback"
  24. },
  25. {
  26. "service": "google.firestore.v1beta1.Firestore",
  27. "method": "ListCollectionIds"
  28. }
  29. ],
  30. "timeout": "60s",
  31. "retryPolicy": {
  32. "maxAttempts": 5,
  33. "initialBackoff": "0.100s",
  34. "maxBackoff": "60s",
  35. "backoffMultiplier": 1.3,
  36. "retryableStatusCodes": [
  37. "UNAVAILABLE",
  38. "DEADLINE_EXCEEDED"
  39. ]
  40. }
  41. },
  42. {
  43. "name": [
  44. {
  45. "service": "google.firestore.v1beta1.Firestore",
  46. "method": "CreateDocument"
  47. },
  48. {
  49. "service": "google.firestore.v1beta1.Firestore",
  50. "method": "UpdateDocument"
  51. },
  52. {
  53. "service": "google.firestore.v1beta1.Firestore",
  54. "method": "Commit"
  55. }
  56. ],
  57. "timeout": "60s"
  58. },
  59. {
  60. "name": [
  61. {
  62. "service": "google.firestore.v1beta1.Firestore",
  63. "method": "BatchGetDocuments"
  64. },
  65. {
  66. "service": "google.firestore.v1beta1.Firestore",
  67. "method": "RunQuery"
  68. }
  69. ],
  70. "timeout": "300s",
  71. "retryPolicy": {
  72. "maxAttempts": 5,
  73. "initialBackoff": "0.100s",
  74. "maxBackoff": "60s",
  75. "backoffMultiplier": 1.3,
  76. "retryableStatusCodes": [
  77. "UNAVAILABLE",
  78. "DEADLINE_EXCEEDED"
  79. ]
  80. }
  81. },
  82. {
  83. "name": [
  84. {
  85. "service": "google.firestore.v1beta1.Firestore",
  86. "method": "Listen"
  87. }
  88. ],
  89. "timeout": "86400s",
  90. "retryPolicy": {
  91. "maxAttempts": 5,
  92. "initialBackoff": "0.100s",
  93. "maxBackoff": "60s",
  94. "backoffMultiplier": 1.3,
  95. "retryableStatusCodes": [
  96. "UNAVAILABLE",
  97. "DEADLINE_EXCEEDED"
  98. ]
  99. }
  100. },
  101. {
  102. "name": [
  103. {
  104. "service": "google.firestore.v1beta1.Firestore",
  105. "method": "Write"
  106. }
  107. ],
  108. "timeout": "86400s"
  109. }
  110. ]
  111. }