type: google.api.Service config_version: 3 name: documentai.googleapis.com title: Cloud Document AI API apis: - name: google.cloud.documentai.v1beta2.DocumentUnderstandingService - name: google.cloud.location.Locations - name: google.longrunning.Operations types: - name: google.cloud.documentai.v1beta2.BatchProcessDocumentsResponse - name: google.cloud.documentai.v1beta2.Document - name: google.cloud.documentai.v1beta2.OperationMetadata documentation: summary: |- Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML. rules: - selector: google.cloud.location.Locations.GetLocation description: Gets information about a location. - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. http: rules: - selector: google.cloud.location.Locations.GetLocation get: '/uiv1beta3/{name=projects/*/locations/*}' - selector: google.cloud.location.Locations.ListLocations get: '/uiv1beta3/{name=projects/*}/locations' - selector: google.longrunning.Operations.CancelOperation post: '/uiv1beta3/{name=projects/*/locations/*/operations/*}:cancel' - selector: google.longrunning.Operations.GetOperation get: '/v1beta2/{name=projects/*/operations/*}' additional_bindings: - get: '/v1beta2/{name=projects/*/locations/*/operations/*}' - get: '/uiv1beta3/{name=projects/*/locations/*/operations/*}' - selector: google.longrunning.Operations.ListOperations get: '/uiv1beta3/{name=projects/*/locations/*/operations}' authentication: rules: - selector: google.cloud.documentai.v1beta2.DocumentUnderstandingService.BatchProcessDocuments oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.documentai.v1beta2.DocumentUnderstandingService.ProcessDocument oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.location.Locations.GetLocation oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.location.Locations.ListLocations oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - selector: 'google.longrunning.Operations.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform publishing: documentation_uri: https://cloud.google.com/document-ai/docs github_label: 'api: documentai' organization: CLOUD proto_reference_documentation_uri: https://cloud.google.com/document-ai/docs/reference/rpc