Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3Dataset
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3Dataset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
A singleton resource under a Processor which configures a collection of documents.
Instance Attribute Summary collapse
-
#document_warehouse_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
Configuration specific to the Document AI Warehouse-based implementation.
-
#gcs_managed_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
Configuration specific to the Cloud Storage-based implementation.
-
#name ⇒ String
Dataset resource name.
-
#satisfies_pzi ⇒ Boolean
(also: #satisfies_pzi?)
Output only.
-
#satisfies_pzs ⇒ Boolean
(also: #satisfies_pzs?)
Output only.
-
#spanner_indexing_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
Configuration specific to spanner-based indexing.
-
#state ⇒ String
Required.
-
#unmanaged_dataset_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
Configuration specific to an unmanaged dataset.
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.
6455 6456 6457 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_warehouse_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
Configuration specific to the Document AI Warehouse-based implementation.
Corresponds to the JSON property documentWarehouseConfig
6415 6416 6417 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6415 def document_warehouse_config @document_warehouse_config end |
#gcs_managed_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
Configuration specific to the Cloud Storage-based implementation.
Corresponds to the JSON property gcsManagedConfig
6420 6421 6422 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6420 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
6426 6427 6428 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6426 def name @name end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzi
6431 6432 6433 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6431 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzs
6437 6438 6439 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6437 def satisfies_pzs @satisfies_pzs end |
#spanner_indexing_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
Configuration specific to spanner-based indexing.
Corresponds to the JSON property spannerIndexingConfig
6443 6444 6445 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6443 def spanner_indexing_config @spanner_indexing_config end |
#state ⇒ String
Required. State of the dataset. Ignored when updating dataset.
Corresponds to the JSON property state
6448 6449 6450 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6448 def state @state end |
#unmanaged_dataset_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
Configuration specific to an unmanaged dataset.
Corresponds to the JSON property unmanagedDatasetConfig
6453 6454 6455 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6453 def unmanaged_dataset_config @unmanaged_dataset_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6460 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 |