type: google.api.Service
config_version: 3
name: documentai.googleapis.com
title: Cloud Document AI API

apis:
- name: google.cloud.documentai.v1.DocumentProcessorService

types:
- name: google.cloud.documentai.v1.BatchProcessMetadata
- name: google.cloud.documentai.v1.BatchProcessResponse
- name: google.cloud.documentai.v1.ReviewDocumentOperationMetadata
- name: google.cloud.documentai.v1.ReviewDocumentResponse

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.

backend:
  rules:
  - selector: 'google.longrunning.Operations.*'
    deadline: 60.0

authentication:
  rules:
  - selector: 'google.cloud.documentai.v1.DocumentProcessorService.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
  - selector: 'google.longrunning.Operations.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
