Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchProcessRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
more...

Overview

Request message for BatchProcessDocuments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1BatchProcessRequest

Returns a new instance of GoogleCloudDocumentaiV1BatchProcessRequest.

[View source]

1596
1597
1598
# File 'lib/google/apis/documentai_v1/classes.rb', line 1596

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#document_output_configGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentOutputConfig

Config that controls the output of documents. All documents will be written as a JSON file. Corresponds to the JSON property documentOutputConfig


1578
1579
1580
# File 'lib/google/apis/documentai_v1/classes.rb', line 1578

def document_output_config
  @document_output_config
end

#input_documentsGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig

The common config to specify a set of documents used as input. Corresponds to the JSON property inputDocuments


1583
1584
1585
# File 'lib/google/apis/documentai_v1/classes.rb', line 1583

def input_documents
  @input_documents
end

#process_optionsGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions

Options for Process API Corresponds to the JSON property processOptions


1588
1589
1590
# File 'lib/google/apis/documentai_v1/classes.rb', line 1588

def process_options
  @process_options
end

#skip_human_reviewBoolean Also known as: skip_human_review?

Whether human review should be skipped for this request. Default to false. Corresponds to the JSON property skipHumanReview

Returns:

  • (Boolean)

1593
1594
1595
# File 'lib/google/apis/documentai_v1/classes.rb', line 1593

def skip_human_review
  @skip_human_review
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

1601
1602
1603
1604
1605
1606
# File 'lib/google/apis/documentai_v1/classes.rb', line 1601

def update!(**args)
  @document_output_config = args[:document_output_config] if args.key?(:document_output_config)
  @input_documents = args[:input_documents] if args.key?(:input_documents)
  @process_options = args[:process_options] if args.key?(:process_options)
  @skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
end