Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Dataset.
A singleton resource under a Processor which configures a collection of documents.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document_warehouse_config
def document_warehouse_config() -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::DocumentWarehouseConfig
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::DocumentWarehouseConfig) — Optional. Deprecated. Warehouse-based dataset configuration is not supported.
#document_warehouse_config=
def document_warehouse_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::DocumentWarehouseConfig
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Dataset::DocumentWarehouseConfig) — Optional. Deprecated. Warehouse-based dataset configuration is not supported.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::DocumentWarehouseConfig) — Optional. Deprecated. Warehouse-based dataset configuration is not supported.
#gcs_managed_config
def gcs_managed_config() -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::GCSManagedConfig
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::GCSManagedConfig) — Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location.
#gcs_managed_config=
def gcs_managed_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::GCSManagedConfig
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Dataset::GCSManagedConfig) — Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::GCSManagedConfig) — Optional. User-managed Cloud Storage dataset configuration. Use this configuration if the dataset documents are stored under a user-managed Cloud Storage location.
#name
def name() -> ::String
Returns
-
(::String) — Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
Returns
-
(::String) — Dataset resource name.
Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
#spanner_indexing_config
def spanner_indexing_config() -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::SpannerIndexingConfig
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::SpannerIndexingConfig) — Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search.
#spanner_indexing_config=
def spanner_indexing_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::SpannerIndexingConfig
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Dataset::SpannerIndexingConfig) — Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::SpannerIndexingConfig) — Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search.
#state
def state() -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::State
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::State) — Required. State of the dataset. Ignored when updating dataset.
#state=
def state=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::State
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Dataset::State) — Required. State of the dataset. Ignored when updating dataset.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::State) — Required. State of the dataset. Ignored when updating dataset.
#unmanaged_dataset_config
def unmanaged_dataset_config() -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::UnmanagedDatasetConfig
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::UnmanagedDatasetConfig) — Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed).
#unmanaged_dataset_config=
def unmanaged_dataset_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::Dataset::UnmanagedDatasetConfig
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::Dataset::UnmanagedDatasetConfig) — Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed).
Returns
- (::Google::Cloud::DocumentAI::V1beta3::Dataset::UnmanagedDatasetConfig) — Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed).