Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Dataset

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

A singleton resource under a Processor which configures a collection of documents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3Dataset

Returns a new instance of GoogleCloudDocumentaiV1beta3Dataset.



7601
7602
7603
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7601

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

Instance Attribute Details

#document_warehouse_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig

Configuration specific to the Document AI Warehouse-based implementation. Corresponds to the JSON property documentWarehouseConfig



7561
7562
7563
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7561

def document_warehouse_config
  @document_warehouse_config
end

#gcs_managed_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig

Configuration specific to the Cloud Storage-based implementation. Corresponds to the JSON property gcsManagedConfig



7566
7567
7568
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7566

def gcs_managed_config
  @gcs_managed_config
end

#nameString

Dataset resource name. Format: projects/project/locations/location/ processors/processor/dataset Corresponds to the JSON property name

Returns:

  • (String)


7572
7573
7574
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7572

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


7577
7578
7579
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7577

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


7583
7584
7585
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7583

def satisfies_pzs
  @satisfies_pzs
end

#spanner_indexing_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig

Configuration specific to spanner-based indexing. Corresponds to the JSON property spannerIndexingConfig



7589
7590
7591
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7589

def spanner_indexing_config
  @spanner_indexing_config
end

#stateString

Required. State of the dataset. Ignored when updating dataset. Corresponds to the JSON property state

Returns:

  • (String)


7594
7595
7596
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7594

def state
  @state
end

#unmanaged_dataset_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig

Configuration specific to an unmanaged dataset. Corresponds to the JSON property unmanagedDatasetConfig



7599
7600
7601
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7599

def unmanaged_dataset_config
  @unmanaged_dataset_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7606

def update!(**args)
  @document_warehouse_config = args[:document_warehouse_config] if args.key?(:document_warehouse_config)
  @gcs_managed_config = args[:gcs_managed_config] if args.key?(:gcs_managed_config)
  @name = args[:name] if args.key?(:name)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @spanner_indexing_config = args[:spanner_indexing_config] if args.key?(:spanner_indexing_config)
  @state = args[:state] if args.key?(:state)
  @unmanaged_dataset_config = args[:unmanaged_dataset_config] if args.key?(:unmanaged_dataset_config)
end