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.



7660
7661
7662
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7660

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)


7653
7654
7655
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7653

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)


7658
7659
7660
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7658

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7665
7666
7667
7668
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 7665

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