Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService. UpdateDocumentProcessingConfig method will initialize the config.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#ocr_config ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig
The OCR options for parsing documents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
Returns a new instance of GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig.
1893 1894 1895 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The full resource name of the Document Processing Config. Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.
Corresponds to the JSON property name
1886 1887 1888 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1886 def name @name end |
#ocr_config ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig
The OCR options for parsing documents.
Corresponds to the JSON property ocrConfig
1891 1892 1893 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1891 def ocr_config @ocr_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1898 1899 1900 1901 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1898 def update!(**args) @name = args[:name] if args.key?(:name) @ocr_config = args[:ocr_config] if args.key?(:ocr_config) end |