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

Overview

Request message for batch process document method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1BatchProcessRequest

Returns a new instance of GoogleCloudDocumentaiV1BatchProcessRequest.



1113
1114
1115
# File 'lib/google/apis/documentai_v1/classes.rb', line 1113

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



1099
1100
1101
# File 'lib/google/apis/documentai_v1/classes.rb', line 1099

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



1104
1105
1106
# File 'lib/google/apis/documentai_v1/classes.rb', line 1104

def input_documents
  @input_documents
end

#skip_human_reviewBoolean Also known as: skip_human_review?

Whether Human Review feature should be skipped for this request. Default to false. Corresponds to the JSON property skipHumanReview

Returns:

  • (Boolean)


1110
1111
1112
# File 'lib/google/apis/documentai_v1/classes.rb', line 1110

def skip_human_review
  @skip_human_review
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1118
1119
1120
1121
1122
# File 'lib/google/apis/documentai_v1/classes.rb', line 1118

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)
  @skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
end