Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest

Inherits:
Object
  • Object
show all
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 batch process document method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3BatchProcessRequest

Returns a new instance of GoogleCloudDocumentaiV1beta3BatchProcessRequest.



4935
4936
4937
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4935

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

Instance Attribute Details

#document_output_configGoogle::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



4911
4912
4913
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4911

def document_output_config
  @document_output_config
end

#input_configsArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig>

The input config for each single document in the batch process. Corresponds to the JSON property inputConfigs



4916
4917
4918
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4916

def input_configs
  @input_configs
end

#input_documentsGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig

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



4921
4922
4923
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4921

def input_documents
  @input_documents
end

#output_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig

The message for output config in batch process. Corresponds to the JSON property outputConfig



4926
4927
4928
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4926

def output_config
  @output_config
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)


4932
4933
4934
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4932

def skip_human_review
  @skip_human_review
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4940
4941
4942
4943
4944
4945
4946
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4940

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