vision_grpc_service_config.json 3.6 KB

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