Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb
Overview
Request message for BatchProcessDocuments.
Instance Attribute Summary collapse
-
#document_output_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfig
Config that controls the output of documents.
-
#input_configs ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig>
The input config for each single document in the batch process.
-
#input_documents ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
The common config to specify a set of documents used as input.
-
#output_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig
The output configuration in the BatchProcessDocuments method.
-
#process_options ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions
Options for Process API Corresponds to the JSON property
processOptions. -
#skip_human_review ⇒ Boolean
(also: #skip_human_review?)
Whether human review should be skipped for this request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3BatchProcessRequest
constructor
A new instance of GoogleCloudDocumentaiV1beta3BatchProcessRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3BatchProcessRequest
Returns a new instance of GoogleCloudDocumentaiV1beta3BatchProcessRequest.
6518 6519 6520 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6518 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_output_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentOutputConfig
Config that controls the output of documents. All documents will be written as
a JSON file.
Corresponds to the JSON property documentOutputConfig
6490 6491 6492 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6490 def document_output_config @document_output_config end |
#input_configs ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig>
The input config for each single document in the batch process.
Corresponds to the JSON property inputConfigs
6495 6496 6497 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6495 def input_configs @input_configs end |
#input_documents ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
The common config to specify a set of documents used as input.
Corresponds to the JSON property inputDocuments
6500 6501 6502 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6500 def input_documents @input_documents end |
#output_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig
The output configuration in the BatchProcessDocuments method.
Corresponds to the JSON property outputConfig
6505 6506 6507 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6505 def output_config @output_config end |
#process_options ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions
Options for Process API
Corresponds to the JSON property processOptions
6510 6511 6512 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6510 def @process_options end |
#skip_human_review ⇒ Boolean Also known as: skip_human_review?
Whether human review should be skipped for this request. Default to false.
Corresponds to the JSON property skipHumanReview
6515 6516 6517 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6515 def skip_human_review @skip_human_review end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6523 6524 6525 6526 6527 6528 6529 6530 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6523 def update!(**args) @document_output_config = args[:document_output_config] if args.key?(:document_output_config) @input_configs = args[:input_configs] if args.key?(:input_configs) @input_documents = args[:input_documents] if args.key?(:input_documents) @output_config = args[:output_config] if args.key?(:output_config) @process_options = args[:process_options] if args.key?(:process_options) @skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review) end |