Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest

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

Request to batch process documents as an asynchronous operation. The output is written to Cloud Storage as JSON in the [Document] format.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest

Returns a new instance of GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest.



2046
2047
2048
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2046

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

Instance Attribute Details

#requestsArray<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest>

Required. Individual requests for each document. Corresponds to the JSON property requests



2044
2045
2046
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2044

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2051
2052
2053
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2051

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