Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse

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 an batch document processing request. This is returned in the LRO Operation after the operation is complete.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse

Returns a new instance of GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse.



1959
1960
1961
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1959

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

Instance Attribute Details

#responsesArray<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1ProcessDocumentResponse>

Responses for each individual document. Corresponds to the JSON property responses



1957
1958
1959
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1957

def responses
  @responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1964
1965
1966
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 1964

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