Request message for the process document 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, the [content] and [mime_type] fields must be set.
#document=
def document=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document) — The document payload, the [content] and [mime_type] fields must be set.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document) — The document payload, the [content] and [mime_type] fields must be set.
#inline_document
def inline_document() -> ::Google::Cloud::DocumentAI::V1beta3::Document
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document) — An inline document proto.
#inline_document=
def inline_document=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Document
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Document) — An inline document proto.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Document) — An inline document proto.
#name
def name() -> ::String
Returns
- (::String) — Required. The processor resource name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The processor resource name.
Returns
- (::String) — Required. The processor resource name.
#raw_document
def raw_document() -> ::Google::Cloud::DocumentAI::V1beta3::RawDocument
Returns
- (::Google::Cloud::DocumentAI::V1beta3::RawDocument) — A raw document content (bytes).
#raw_document=
def raw_document=(value) -> ::Google::Cloud::DocumentAI::V1beta3::RawDocument
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::RawDocument) — A raw document content (bytes).
Returns
- (::Google::Cloud::DocumentAI::V1beta3::RawDocument) — A raw document content (bytes).
#skip_human_review
def skip_human_review() -> ::Boolean
Returns
- (::Boolean) — Whether Human Review feature should be skipped for this request. Default to false.
#skip_human_review=
def skip_human_review=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether Human Review feature should be skipped for this request. Default to false.
Returns
- (::Boolean) — Whether Human Review feature should be skipped for this request. Default to false.