Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig

Inherits:
Object
  • Object
show all
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

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.



6765
6766
6767
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 6765

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)


6758
6759
6760
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 6758

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)


6763
6764
6765
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 6763

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6770
6771
6772
6773
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 6770

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