vision_grpc_service_config.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.cloud.vision.v1p3beta1.ImageAnnotator",
  7. "method": "AsyncBatchAnnotateFiles"
  8. }
  9. ],
  10. "timeout": "600s",
  11. "retryPolicy": {
  12. "initialBackoff": "0.100s",
  13. "maxBackoff": "60s",
  14. "backoffMultiplier": 1.3,
  15. "retryableStatusCodes": [
  16. ]
  17. }
  18. },
  19. {
  20. "name": [
  21. {
  22. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  23. "method": "CreateProductSet"
  24. },
  25. {
  26. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  27. "method": "UpdateProductSet"
  28. },
  29. {
  30. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  31. "method": "CreateProduct"
  32. },
  33. {
  34. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  35. "method": "UpdateProduct"
  36. },
  37. {
  38. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  39. "method": "CreateReferenceImage"
  40. },
  41. {
  42. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  43. "method": "AddProductToProductSet"
  44. },
  45. {
  46. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  47. "method": "RemoveProductFromProductSet"
  48. },
  49. {
  50. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  51. "method": "ImportProductSets"
  52. }
  53. ],
  54. "timeout": "600s",
  55. "retryPolicy": {
  56. "initialBackoff": "0.100s",
  57. "maxBackoff": "60s",
  58. "backoffMultiplier": 1.3,
  59. "retryableStatusCodes": [
  60. ]
  61. }
  62. },
  63. {
  64. "name": [
  65. {
  66. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  67. "method": "ListProductSets"
  68. },
  69. {
  70. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  71. "method": "GetProductSet"
  72. },
  73. {
  74. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  75. "method": "DeleteProductSet"
  76. },
  77. {
  78. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  79. "method": "ListProducts"
  80. },
  81. {
  82. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  83. "method": "GetProduct"
  84. },
  85. {
  86. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  87. "method": "DeleteProduct"
  88. },
  89. {
  90. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  91. "method": "DeleteReferenceImage"
  92. },
  93. {
  94. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  95. "method": "ListReferenceImages"
  96. },
  97. {
  98. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  99. "method": "GetReferenceImage"
  100. },
  101. {
  102. "service": "google.cloud.vision.v1p3beta1.ProductSearch",
  103. "method": "ListProductsInProductSet"
  104. }
  105. ],
  106. "timeout": "600s",
  107. "retryPolicy": {
  108. "initialBackoff": "0.100s",
  109. "maxBackoff": "60s",
  110. "backoffMultiplier": 1.3,
  111. "retryableStatusCodes": [
  112. "UNAVAILABLE",
  113. "DEADLINE_EXCEEDED"
  114. ]
  115. }
  116. },
  117. {
  118. "name": [
  119. {
  120. "service": "google.cloud.vision.v1p3beta1.ImageAnnotator",
  121. "method": "BatchAnnotateImages"
  122. }
  123. ],
  124. "timeout": "600s",
  125. "retryPolicy": {
  126. "initialBackoff": "0.100s",
  127. "maxBackoff": "60s",
  128. "backoffMultiplier": 1.3,
  129. "retryableStatusCodes": [
  130. "UNAVAILABLE",
  131. "DEADLINE_EXCEEDED"
  132. ]
  133. }
  134. }
  135. ]
  136. }