Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ProcessResponse.
Response message for the ProcessDocument method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document
def document() -> ::Google::Cloud::DocumentAI::V1beta3::Document
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document) — The document payload, will populate fields based on the processor's behavior.
#document=
def document=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document) — The document payload, will populate fields based on the processor's behavior.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document) — The document payload, will populate fields based on the processor's behavior.
#human_review_operation
def human_review_operation() -> ::String
Returns
- (::String) — The name of the operation triggered by the processed document. If the human review process isn't triggered, this field is empty. It has the same response type and metadata as the long-running operation returned by ReviewDocument.
#human_review_operation=
def human_review_operation=(value) -> ::String
Parameter
- value (::String) — The name of the operation triggered by the processed document. If the human review process isn't triggered, this field is empty. It has the same response type and metadata as the long-running operation returned by ReviewDocument.
Returns
- (::String) — The name of the operation triggered by the processed document. If the human review process isn't triggered, this field is empty. It has the same response type and metadata as the long-running operation returned by ReviewDocument.
#human_review_status
def human_review_status() -> ::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus
Returns
- (::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus) — The status of human review on the processed document.
#human_review_status=
def human_review_status=(value) -> ::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus) — The status of human review on the processed document.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::HumanReviewStatus) — The status of human review on the processed document.