Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Dataset
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Dataset
- 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
-
#document_warehouse_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
Config specific to the Document Warehouse-based implementation.
-
#gcs_managed_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
Config specific to the GCS-based implementation.
-
#name ⇒ String
Dataset resource name.
-
#spanner_indexing_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
Config specific to spanner based indexing.
-
#state ⇒ String
Required.
-
#unmanaged_dataset_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
Config specific to unmanaged config Corresponds to the JSON property
unmanagedDatasetConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3Dataset
constructor
A new instance of GoogleCloudDocumentaiV1beta3Dataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3Dataset
Returns a new instance of GoogleCloudDocumentaiV1beta3Dataset.
6526 6527 6528 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6526 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_warehouse_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
Config specific to the Document Warehouse-based implementation.
Corresponds to the JSON property documentWarehouseConfig
6498 6499 6500 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6498 def document_warehouse_config @document_warehouse_config end |
#gcs_managed_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
Config specific to the GCS-based implementation.
Corresponds to the JSON property gcsManagedConfig
6503 6504 6505 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6503 def gcs_managed_config @gcs_managed_config end |
#name ⇒ String
Dataset resource name. Format: projects/project/locations/location/
processors/processor/dataset
Corresponds to the JSON property name
6509 6510 6511 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6509 def name @name end |
#spanner_indexing_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
Config specific to spanner based indexing.
Corresponds to the JSON property spannerIndexingConfig
6514 6515 6516 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6514 def spanner_indexing_config @spanner_indexing_config end |
#state ⇒ String
Required. State of the dataset. Will be ignored when updating dataset.
Corresponds to the JSON property state
6519 6520 6521 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6519 def state @state end |
#unmanaged_dataset_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
Config specific to unmanaged config
Corresponds to the JSON property unmanagedDatasetConfig
6524 6525 6526 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6524 def unmanaged_dataset_config @unmanaged_dataset_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6531 6532 6533 6534 6535 6536 6537 6538 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 6531 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) @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 |