Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1ProcessDocumentResponse

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

Returns a new instance of GoogleCloudDocumentaiV1beta1ProcessDocumentResponse.



1979
1980
1981
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1979

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

Instance Attribute Details

#input_configGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1InputConfig

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



1972
1973
1974
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1972

def input_config
  @input_config
end

#output_configGoogle::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1OutputConfig

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



1977
1978
1979
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1977

def output_config
  @output_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1984
1985
1986
1987
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 1984

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