documentai_v1.yaml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. type: google.api.Service
  2. config_version: 3
  3. name: documentai.googleapis.com
  4. title: Cloud Document AI API
  5. apis:
  6. - name: google.cloud.documentai.v1.DocumentProcessorService
  7. - name: google.cloud.location.Locations
  8. - name: google.longrunning.Operations
  9. types:
  10. - name: google.cloud.documentai.v1.BatchProcessMetadata
  11. - name: google.cloud.documentai.v1.BatchProcessResponse
  12. - name: google.cloud.documentai.v1.DeleteProcessorMetadata
  13. - name: google.cloud.documentai.v1.DeleteProcessorVersionMetadata
  14. - name: google.cloud.documentai.v1.DeployProcessorVersionMetadata
  15. - name: google.cloud.documentai.v1.DeployProcessorVersionResponse
  16. - name: google.cloud.documentai.v1.DisableProcessorMetadata
  17. - name: google.cloud.documentai.v1.DisableProcessorResponse
  18. - name: google.cloud.documentai.v1.EnableProcessorMetadata
  19. - name: google.cloud.documentai.v1.EnableProcessorResponse
  20. - name: google.cloud.documentai.v1.ReviewDocumentOperationMetadata
  21. - name: google.cloud.documentai.v1.ReviewDocumentResponse
  22. - name: google.cloud.documentai.v1.SetDefaultProcessorVersionMetadata
  23. - name: google.cloud.documentai.v1.SetDefaultProcessorVersionResponse
  24. - name: google.cloud.documentai.v1.UndeployProcessorVersionMetadata
  25. - name: google.cloud.documentai.v1.UndeployProcessorVersionResponse
  26. documentation:
  27. summary: |-
  28. Service to parse structured information from unstructured or
  29. semi-structured documents using state-of-the-art Google AI such as natural
  30. language, computer vision, translation, and AutoML.
  31. rules:
  32. - selector: google.cloud.location.Locations.GetLocation
  33. description: Gets information about a location.
  34. - selector: google.cloud.location.Locations.ListLocations
  35. description: Lists information about the supported locations for this service.
  36. http:
  37. rules:
  38. - selector: google.cloud.location.Locations.GetLocation
  39. get: '/v1/{name=projects/*/locations/*}'
  40. additional_bindings:
  41. - get: '/uiv1beta3/{name=projects/*/locations/*}'
  42. - selector: google.cloud.location.Locations.ListLocations
  43. get: '/v1/{name=projects/*}/locations'
  44. additional_bindings:
  45. - get: '/uiv1beta3/{name=projects/*}/locations'
  46. - selector: google.longrunning.Operations.CancelOperation
  47. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  48. additional_bindings:
  49. - post: '/uiv1beta3/{name=projects/*/locations/*/operations/*}:cancel'
  50. - selector: google.longrunning.Operations.GetOperation
  51. get: '/v1/{name=projects/*/operations/*}'
  52. additional_bindings:
  53. - get: '/v1/{name=projects/*/locations/*/operations/*}'
  54. - get: '/uiv1beta3/{name=projects/*/locations/*/operations/*}'
  55. - selector: google.longrunning.Operations.ListOperations
  56. get: '/v1/{name=projects/*/locations/*/operations}'
  57. additional_bindings:
  58. - get: '/uiv1beta3/{name=projects/*/locations/*/operations}'
  59. authentication:
  60. rules:
  61. - selector: 'google.cloud.documentai.v1.DocumentProcessorService.*'
  62. oauth:
  63. canonical_scopes: |-
  64. https://www.googleapis.com/auth/cloud-platform
  65. - selector: google.cloud.location.Locations.GetLocation
  66. oauth:
  67. canonical_scopes: |-
  68. https://www.googleapis.com/auth/cloud-platform
  69. - selector: google.cloud.location.Locations.ListLocations
  70. oauth:
  71. canonical_scopes: |-
  72. https://www.googleapis.com/auth/cloud-platform
  73. - selector: 'google.longrunning.Operations.*'
  74. oauth:
  75. canonical_scopes: |-
  76. https://www.googleapis.com/auth/cloud-platform