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.
1012 1013 1014 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1012 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
1005 1006 1007 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1005 def name @name end |
#ocr_config ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig
The OCR options for parsing documents.
Corresponds to the JSON property ocrConfig
1010 1011 1012 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1010 def ocr_config @ocr_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1017 1018 1019 1020 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 1017 def update!(**args) @name = args[:name] if args.key?(:name) @ocr_config = args[:ocr_config] if args.key?(:ocr_config) end |