Class: Google::Cloud::DocumentAI::V1beta3::ProcessRequest
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::ProcessRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb
Overview
Request message for the process document method.
Instance Attribute Summary collapse
-
#document ⇒ ::Google::Cloud::DocumentAI::V1beta3::Document
The document payload, the [content] and [mime_type] fields must be set.
-
#field_mask ⇒ ::Google::Protobuf::FieldMask
Specifies which fields to include in ProcessResponse's document.
-
#inline_document ⇒ ::Google::Cloud::DocumentAI::V1beta3::Document
An inline document proto.
-
#name ⇒ ::String
Required.
-
#raw_document ⇒ ::Google::Cloud::DocumentAI::V1beta3::RawDocument
A raw document content (bytes).
-
#skip_human_review ⇒ ::Boolean
Whether Human Review feature should be skipped for this request.
Instance Attribute Details
#document ⇒ ::Google::Cloud::DocumentAI::V1beta3::Document
Returns The document payload, the [content] and [mime_type] fields must be set.
51 52 53 54 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 51 class ProcessRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#field_mask ⇒ ::Google::Protobuf::FieldMask
Returns Specifies which fields to include in ProcessResponse's document.
Only supports top level document and pages field so it must be in the form
of {document_field_name}
or pages.{page_field_name}
.
51 52 53 54 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 51 class ProcessRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#inline_document ⇒ ::Google::Cloud::DocumentAI::V1beta3::Document
Returns An inline document proto.
51 52 53 54 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 51 class ProcessRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Required. The resource name of the Processor or
ProcessorVersion
to use for processing. If a Processor is specified, the server will use
its default version. Format:
projects/{project}/locations/{location}/processors/{processor}
, or
projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}
.
51 52 53 54 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 51 class ProcessRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_document ⇒ ::Google::Cloud::DocumentAI::V1beta3::RawDocument
Returns A raw document content (bytes).
51 52 53 54 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 51 class ProcessRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#skip_human_review ⇒ ::Boolean
Returns Whether Human Review feature should be skipped for this request. Default to false.
51 52 53 54 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 51 class ProcessRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |