Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig

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

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

Returns a new instance of GoogleCloudDocumentaiV1BatchDocumentsInputConfig.

[View source]

1470
1471
1472
# File 'lib/google/apis/documentai_v1/classes.rb', line 1470

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

Instance Attribute Details

#gcs_documentsGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsDocuments

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


1463
1464
1465
# File 'lib/google/apis/documentai_v1/classes.rb', line 1463

def gcs_documents
  @gcs_documents
end

#gcs_prefixGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix

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


1468
1469
1470
# File 'lib/google/apis/documentai_v1/classes.rb', line 1468

def gcs_prefix
  @gcs_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

1475
1476
1477
1478
# File 'lib/google/apis/documentai_v1/classes.rb', line 1475

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