automl_grpc_service_config.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. {
  6. "service": "google.cloud.automl.v1.AutoMl",
  7. "method": "CreateDataset"
  8. },
  9. {
  10. "service": "google.cloud.automl.v1.AutoMl",
  11. "method": "UpdateDataset"
  12. },
  13. {
  14. "service": "google.cloud.automl.v1.AutoMl",
  15. "method": "ImportData"
  16. },
  17. {
  18. "service": "google.cloud.automl.v1.AutoMl",
  19. "method": "ExportData"
  20. },
  21. {
  22. "service": "google.cloud.automl.v1.AutoMl",
  23. "method": "CreateModel"
  24. },
  25. {
  26. "service": "google.cloud.automl.v1.AutoMl",
  27. "method": "UpdateModel"
  28. },
  29. {
  30. "service": "google.cloud.automl.v1.AutoMl",
  31. "method": "DeployModel"
  32. },
  33. {
  34. "service": "google.cloud.automl.v1.AutoMl",
  35. "method": "UndeployModel"
  36. },
  37. {
  38. "service": "google.cloud.automl.v1.AutoMl",
  39. "method": "ExportModel"
  40. }
  41. ],
  42. "timeout": "5s"
  43. },
  44. {
  45. "name": [
  46. {
  47. "service": "google.cloud.automl.v1.AutoMl",
  48. "method": "GetDataset"
  49. },
  50. {
  51. "service": "google.cloud.automl.v1.AutoMl",
  52. "method": "ListDatasets"
  53. },
  54. {
  55. "service": "google.cloud.automl.v1.AutoMl",
  56. "method": "DeleteDataset"
  57. },
  58. {
  59. "service": "google.cloud.automl.v1.AutoMl",
  60. "method": "GetAnnotationSpec"
  61. },
  62. {
  63. "service": "google.cloud.automl.v1.AutoMl",
  64. "method": "GetModel"
  65. },
  66. {
  67. "service": "google.cloud.automl.v1.AutoMl",
  68. "method": "ListModels"
  69. },
  70. {
  71. "service": "google.cloud.automl.v1.AutoMl",
  72. "method": "DeleteModel"
  73. },
  74. {
  75. "service": "google.cloud.automl.v1.AutoMl",
  76. "method": "GetModelEvaluation"
  77. },
  78. {
  79. "service": "google.cloud.automl.v1.AutoMl",
  80. "method": "ListModelEvaluations"
  81. }
  82. ],
  83. "timeout": "5s",
  84. "retryPolicy": {
  85. "maxAttempts": 5,
  86. "initialBackoff": "0.100s",
  87. "maxBackoff": "60s",
  88. "backoffMultiplier": 1.3,
  89. "retryableStatusCodes": [
  90. "DEADLINE_EXCEEDED",
  91. "UNAVAILABLE"
  92. ]
  93. }
  94. },
  95. {
  96. "name": [
  97. {
  98. "service": "google.cloud.automl.v1.PredictionService",
  99. "method": "Predict"
  100. },
  101. {
  102. "service": "google.cloud.automl.v1.PredictionService",
  103. "method": "BatchPredict"
  104. }
  105. ],
  106. "timeout": "60s"
  107. }
  108. ]
  109. }