class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessResponse

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::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]

human_review_operation[RW]

The name of the operation triggered by the processed document. If the human review process is not triggered, this field will be empty. It has the same response type and metadata as the long running operation returned by ReviewDocument method. Corresponds to the JSON property `humanReviewOperation` @return [String]

human_review_status[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 6834
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_v1beta3/classes.rb, line 6839
def update!(**args)
  @document = args[:document] if args.key?(:document)
  @human_review_operation = args[:human_review_operation] if args.key?(:human_review_operation)
  @human_review_status = args[:human_review_status] if args.key?(:human_review_status)
end