Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/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::DiscoveryengineV1alpha::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.
2637 2638 2639 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2637 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
2630 2631 2632 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2630 def name @name end |
#ocr_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrConfig
The OCR options for parsing documents.
Corresponds to the JSON property ocrConfig
2635 2636 2637 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2635 def ocr_config @ocr_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2642 2643 2644 2645 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2642 def update!(**args) @name = args[:name] if args.key?(:name) @ocr_config = args[:ocr_config] if args.key?(:ocr_config) end |