contentwarehouse_grpc_service_config.json 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "methodConfig": [{
  3. "name": [
  4. { "service": "google.cloud.contentwarehouse.v1.DocumentSchemaService", "method": "GetDocumentSchema" },
  5. { "service": "google.cloud.contentwarehouse.v1.DocumentSchemaService", "method": "ListDocumentSchemas" },
  6. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "GetDocument" },
  7. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "FetchAcl" },
  8. { "service": "google.cloud.contentwarehouse.v1.RuleSetService", "method": "GetRuleSet" },
  9. { "service": "google.cloud.contentwarehouse.v1.RuleSetService", "method": "ListRuleSets" },
  10. { "service": "google.cloud.contentwarehouse.v1.SynonymSetService", "method": "GetSynonymSet" },
  11. { "service": "google.cloud.contentwarehouse.v1.SynonymSetService", "method": "ListSynonymSets" },
  12. { "service": "google.longrunning.Operations", "method": "GetOperation" },
  13. { "service": "google.longrunning.Operations", "method": "ListOperations" }
  14. ],
  15. "timeout": "60s",
  16. "retryPolicy": {
  17. "maxAttempts": 5,
  18. "initialBackoff": "1s",
  19. "maxBackoff": "10s",
  20. "backoffMultiplier": 1.3,
  21. "retryableStatusCodes": ["UNAVAILABLE"]
  22. }
  23. },
  24. {
  25. "name": [
  26. { "service": "google.cloud.contentwarehouse.v1.DocumentSchemaService", "method": "CreateDocumentSchema" },
  27. { "service": "google.cloud.contentwarehouse.v1.DocumentSchemaService", "method": "UpdateDocumentSchema" },
  28. { "service": "google.cloud.contentwarehouse.v1.DocumentSchemaService", "method": "DeleteDocumentSchema" },
  29. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "DeleteDocument" },
  30. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "DeleteRawDocument" },
  31. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "SetAcl" },
  32. { "service": "google.cloud.contentwarehouse.v1.RuleSetService", "method": "CreateRuleSet" },
  33. { "service": "google.cloud.contentwarehouse.v1.RuleSetService", "method": "DeleteRuleSet" },
  34. { "service": "google.cloud.contentwarehouse.v1.RuleSetService", "method": "UpdateRuleSet" },
  35. { "service": "google.cloud.contentwarehouse.v1.SynonymSetService", "method": "CreateSynonymSet" },
  36. { "service": "google.cloud.contentwarehouse.v1.SynonymSetService", "method": "DeleteSynonymSet" },
  37. { "service": "google.cloud.contentwarehouse.v1.SynonymSetService", "method": "UpdateSynonymSet" }
  38. ],
  39. "timeout": "60s"
  40. },
  41. {
  42. "name": [
  43. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "CreateDocument" },
  44. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "UpdateDocument" },
  45. { "service": "google.cloud.contentwarehouse.v1.DocumentService", "method": "SearchDocuments" },
  46. { "service": "google.cloud.contentwarehouse.v1.DocumentLinkService", "method": "ListLinkedSources" },
  47. { "service": "google.cloud.contentwarehouse.v1.DocumentLinkService", "method": "ListLinkedTargets" },
  48. { "service": "google.cloud.contentwarehouse.v1.DocumentLinkService", "method": "CreateDocumentLink" },
  49. { "service": "google.cloud.contentwarehouse.v1.DocumentLinkService", "method": "DeleteDocumentLink" }
  50. ],
  51. "timeout": "180s"
  52. }]
  53. }