Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2ProcessDocumentResponse

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

Response to a single document processing request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2ProcessDocumentResponse

Returns a new instance of GoogleCloudDocumentaiV1beta2ProcessDocumentResponse.



3722
3723
3724
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3722

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

Instance Attribute Details

#input_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2InputConfig

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



3715
3716
3717
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3715

def input_config
  @input_config
end

#output_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2OutputConfig

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



3720
3721
3722
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3720

def output_config
  @output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3727
3728
3729
3730
# File 'generated/google/apis/documentai_v1beta3/classes.rb', line 3727

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