Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentResponse

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



4907
4908
4909
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4907

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

Instance Attribute Details

#input_configGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2InputConfig

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



4900
4901
4902
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4900

def input_config
  @input_config
end

#output_configGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2OutputConfig

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



4905
4906
4907
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4905

def output_config
  @output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4912
4913
4914
4915
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4912

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