Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig

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

The common config to specify a set of documents used as input.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig

Returns a new instance of GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig.



6378
6379
6380
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6378

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

Instance Attribute Details

#gcs_documentsGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments

Specifies a set of documents on Cloud Storage. Corresponds to the JSON property gcsDocuments



6366
6367
6368
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6366

def gcs_documents
  @gcs_documents
end

#gcs_prefixGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix

Specifies all documents on Cloud Storage with a common prefix. Corresponds to the JSON property gcsPrefix



6371
6372
6373
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6371

def gcs_prefix
  @gcs_prefix
end

#raw_documentsGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocuments

Specifies a set of raw documents. Corresponds to the JSON property rawDocuments



6376
6377
6378
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6376

def raw_documents
  @raw_documents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6383
6384
6385
6386
6387
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6383

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