Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig

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

Overview

Configuration specific to the Document AI Warehouse-based implementation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig

Returns a new instance of GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig.



8544
8545
8546
# File 'lib/google/apis/documentai_v1/classes.rb', line 8544

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

Instance Attribute Details

#collectionString

Output only. The collection in Document AI Warehouse associated with the dataset. Corresponds to the JSON property collection

Returns:

  • (String)


8537
8538
8539
# File 'lib/google/apis/documentai_v1/classes.rb', line 8537

def collection
  @collection
end

#schemaString

Output only. The schema in Document AI Warehouse associated with the dataset. Corresponds to the JSON property schema

Returns:

  • (String)


8542
8543
8544
# File 'lib/google/apis/documentai_v1/classes.rb', line 8542

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8549
8550
8551
8552
# File 'lib/google/apis/documentai_v1/classes.rb', line 8549

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