Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDatasetDocuments

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb

Overview

Dataset documents that the batch operation will be applied to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3BatchDatasetDocuments

Returns a new instance of GoogleCloudDocumentaiV1beta3BatchDatasetDocuments.



6229
6230
6231
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6229

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

Instance Attribute Details

#filterString

A filter matching the documents. Follows the same format and restriction as [ google.cloud.documentai.master.ListDocumentsRequest.filter]. Corresponds to the JSON property filter

Returns:

  • (String)


6222
6223
6224
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6222

def filter
  @filter
end

#individual_document_idsGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDatasetDocumentsIndividualDocumentIds

List of individual DocumentIds. Corresponds to the JSON property individualDocumentIds



6227
6228
6229
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6227

def individual_document_ids
  @individual_document_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6234
6235
6236
6237
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6234

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