pubsub_grpc_service_config.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.pubsub.v1.Publisher",
  7. "method": "CreateTopic"
  8. },
  9. {
  10. "service": "google.pubsub.v1.Publisher",
  11. "method": "UpdateTopic"
  12. },
  13. {
  14. "service": "google.pubsub.v1.Publisher",
  15. "method": "DeleteTopic"
  16. },
  17. {
  18. "service": "google.pubsub.v1.Publisher",
  19. "method": "DetachSubscription"
  20. },
  21. {
  22. "service": "google.pubsub.v1.Publisher",
  23. "method": "SetIamPolicy"
  24. },
  25. {
  26. "service": "google.pubsub.v1.Publisher",
  27. "method": "TestIamPermissions"
  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. ]
  39. }
  40. },
  41. {
  42. "name": [
  43. {
  44. "service": "google.pubsub.v1.Publisher",
  45. "method": "Publish"
  46. }
  47. ],
  48. "timeout": "60s",
  49. "retryPolicy": {
  50. "maxAttempts": 5,
  51. "initialBackoff": "0.100s",
  52. "maxBackoff": "60s",
  53. "backoffMultiplier": 1.3,
  54. "retryableStatusCodes": [
  55. "ABORTED",
  56. "CANCELLED",
  57. "INTERNAL",
  58. "RESOURCE_EXHAUSTED",
  59. "UNKNOWN",
  60. "UNAVAILABLE",
  61. "DEADLINE_EXCEEDED"
  62. ]
  63. }
  64. },
  65. {
  66. "name": [
  67. {
  68. "service": "google.pubsub.v1.Publisher",
  69. "method": "GetTopic"
  70. },
  71. {
  72. "service": "google.pubsub.v1.Publisher",
  73. "method": "ListTopics"
  74. },
  75. {
  76. "service": "google.pubsub.v1.Publisher",
  77. "method": "ListTopicSubscriptions"
  78. },
  79. {
  80. "service": "google.pubsub.v1.Publisher",
  81. "method": "ListTopicSnapshots"
  82. },
  83. {
  84. "service": "google.pubsub.v1.Publisher",
  85. "method": "GetIamPolicy"
  86. }
  87. ],
  88. "timeout": "60s",
  89. "retryPolicy": {
  90. "maxAttempts": 5,
  91. "initialBackoff": "0.100s",
  92. "maxBackoff": "60s",
  93. "backoffMultiplier": 1.3,
  94. "retryableStatusCodes": [
  95. "UNKNOWN",
  96. "ABORTED",
  97. "UNAVAILABLE"
  98. ]
  99. }
  100. },
  101. {
  102. "name": [
  103. {
  104. "service": "google.pubsub.v1.Subscriber",
  105. "method": "StreamingPull"
  106. }
  107. ],
  108. "timeout": "900s",
  109. "retryPolicy": {
  110. "maxAttempts": 5,
  111. "initialBackoff": "0.100s",
  112. "maxBackoff": "60s",
  113. "backoffMultiplier": 1.3,
  114. "retryableStatusCodes": [
  115. "DEADLINE_EXCEEDED",
  116. "RESOURCE_EXHAUSTED",
  117. "ABORTED",
  118. "INTERNAL",
  119. "UNAVAILABLE"
  120. ]
  121. }
  122. },
  123. {
  124. "name": [
  125. {
  126. "service": "google.pubsub.v1.Subscriber",
  127. "method": "CreateSubscription"
  128. },
  129. {
  130. "service": "google.pubsub.v1.Subscriber",
  131. "method": "GetSubscription"
  132. },
  133. {
  134. "service": "google.pubsub.v1.Subscriber",
  135. "method": "ListSubscriptions"
  136. },
  137. {
  138. "service": "google.pubsub.v1.Subscriber",
  139. "method": "ListSnapshots"
  140. },
  141. {
  142. "service": "google.pubsub.v1.Subscriber",
  143. "method": "GetSnapshot"
  144. },
  145. {
  146. "service": "google.pubsub.v1.Subscriber",
  147. "method": "Seek"
  148. },
  149. {
  150. "service": "google.pubsub.v1.Subscriber",
  151. "method": "Pull"
  152. },
  153. {
  154. "service": "google.pubsub.v1.Subscriber",
  155. "method": "GetIamPolicy"
  156. }
  157. ],
  158. "timeout": "60s",
  159. "retryPolicy": {
  160. "maxAttempts": 5,
  161. "initialBackoff": "0.100s",
  162. "maxBackoff": "60s",
  163. "backoffMultiplier": 1.3,
  164. "retryableStatusCodes": [
  165. "UNKNOWN",
  166. "ABORTED",
  167. "UNAVAILABLE"
  168. ]
  169. }
  170. },
  171. {
  172. "name": [
  173. {
  174. "service": "google.pubsub.v1.Subscriber",
  175. "method": "UpdateSubscription"
  176. },
  177. {
  178. "service": "google.pubsub.v1.Subscriber",
  179. "method": "DeleteSubscription"
  180. },
  181. {
  182. "service": "google.pubsub.v1.Subscriber",
  183. "method": "ModifyAckDeadline"
  184. },
  185. {
  186. "service": "google.pubsub.v1.Subscriber",
  187. "method": "ModifyPushConfig"
  188. },
  189. {
  190. "service": "google.pubsub.v1.Subscriber",
  191. "method": "CreateSnapshot"
  192. },
  193. {
  194. "service": "google.pubsub.v1.Subscriber",
  195. "method": "UpdateSnapshot"
  196. },
  197. {
  198. "service": "google.pubsub.v1.Subscriber",
  199. "method": "DeleteSnapshot"
  200. },
  201. {
  202. "service": "google.pubsub.v1.Subscriber",
  203. "method": "Acknowledge"
  204. },
  205. {
  206. "service": "google.pubsub.v1.Subscriber",
  207. "method": "SetIamPolicy"
  208. },
  209. {
  210. "service": "google.pubsub.v1.Subscriber",
  211. "method": "TestIamPermissions"
  212. }
  213. ],
  214. "timeout": "60s",
  215. "retryPolicy": {
  216. "maxAttempts": 5,
  217. "initialBackoff": "0.100s",
  218. "maxBackoff": "60s",
  219. "backoffMultiplier": 1.3,
  220. "retryableStatusCodes": [
  221. "UNAVAILABLE"
  222. ]
  223. }
  224. }
  225. ]
  226. }