Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse

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 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) ⇒ GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse

Returns a new instance of GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse.



2066
2067
2068
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2066

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

Instance Attribute Details

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

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



2064
2065
2066
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2064

def responses
  @responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2071
2072
2073
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2071

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