Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig

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

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.



4024
4025
4026
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4024

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)


4017
4018
4019
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4017

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)


4022
4023
4024
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4022

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4029
4030
4031
4032
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4029

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