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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/documentai_v1beta3/classes.rb,
generated/google/apis/documentai_v1beta3/representations.rb,
generated/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.



3866
3867
3868
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3866

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

Instance Attribute Details

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

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



3859
3860
3861
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3859

def input_configs
  @input_configs
end

#output_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig

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



3864
3865
3866
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3864

def output_config
  @output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3871
3872
3873
3874
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3871

def update!(**args)
  @input_configs = args[:input_configs] if args.key?(:input_configs)
  @output_config = args[:output_config] if args.key?(:output_config)
end