class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessResponse

Response message for the process document method.

Attributes

document[RW]

Document represents the canonical document resource in Document Understanding AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document Understanding AI to iterate and optimize for quality. Corresponds to the JSON property `document` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]

human_review_status[RW]

The status of human review on a processed document. Corresponds to the JSON property `humanReviewStatus` @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewStatus]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 2653
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1/classes.rb, line 2658
def update!(**args)
  @document = args[:document] if args.key?(:document)
  @human_review_status = args[:human_review_status] if args.key?(:human_review_status)
end