Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
- 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
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
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
constructor
A new instance of GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
Returns a new instance of GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest.
4559 4560 4561 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2ProcessDocumentRequest>
Required. Individual requests for each document.
Corresponds to the JSON property requests
4557 4558 4559 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4557 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4564 4565 4566 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4564 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |