Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1ProcessDocumentResponse

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

Response to a single document processing request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1ProcessDocumentResponse

Returns a new instance of GoogleCloudDocumentaiV1beta1ProcessDocumentResponse.



4450
4451
4452
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4450

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

Instance Attribute Details

#input_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1InputConfig

The desired input location and metadata. Corresponds to the JSON property inputConfig



4443
4444
4445
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4443

def input_config
  @input_config
end

#output_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1OutputConfig

The desired output location and metadata. Corresponds to the JSON property outputConfig



4448
4449
4450
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4448

def output_config
  @output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4455
4456
4457
4458
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4455

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