google-apis-discoveryengine_v1beta 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca4996aa7b870ac4084f6cbdd17150b0c4b63453ad3b985649ea5e7507eb52e9
4
- data.tar.gz: cbdd5499c6079ed6f0215c3d30882fdbc3752080e32cb40581ab613370b7769b
3
+ metadata.gz: 2b02fc1f1bc67e55c85507df977a55fe291b03de5c0bd510b9f43b0e4b843ab0
4
+ data.tar.gz: 109a557b52a4642a1810a2383b2b5590651064ff9514d34c3f336ff0430a825b
5
5
  SHA512:
6
- metadata.gz: e78cda438a029b6cc8c61fa6adf13589246bdc63856ec812371b171b1e89a8e2c7b0a7b768823705d360d11ca576175911c7f433511cc038a30adc932ff46df1
7
- data.tar.gz: 43cd2f752b88a01254df8d4a9c4f8dad7b718bbaaaf429c80133e123ef3fe5d8800a41b29de7239424f6d9cb0120c62d21b1833258001e0632672aef203b210f
6
+ metadata.gz: 49df332b2a793c359def1c9c8e04240aaf953c465b07b962c2d7d82884b16dd3c7067a65f84ead84404083b6499e7255838a965b4a6c00a698967ccffa86b8cf
7
+ data.tar.gz: a253ebf6a49cfd93f74943ecd885fa4d5648e4aab711dfe656100b1054c903e63f113ca17bee5ee3ab2657b0d0235bcfc514dc22048f88cdb983ce74d67d29ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.31.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231218
6
+
3
7
  ### v0.30.0 (2023-12-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20231209
@@ -992,6 +992,34 @@ module Google
992
992
  end
993
993
  end
994
994
 
995
+ # A singleton resource of DataStore. It's empty when DataStore is created, which
996
+ # defaults to digital parser. The first call to DataStoreService.
997
+ # UpdateDocumentProcessingConfig method will initialize the config.
998
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
999
+ include Google::Apis::Core::Hashable
1000
+
1001
+ # Output only. The full resource name of the Document Processing Config. Format:
1002
+ # `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.
1003
+ # Corresponds to the JSON property `name`
1004
+ # @return [String]
1005
+ attr_accessor :name
1006
+
1007
+ # The OCR options for parsing documents.
1008
+ # Corresponds to the JSON property `ocrConfig`
1009
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig]
1010
+ attr_accessor :ocr_config
1011
+
1012
+ def initialize(**args)
1013
+ update!(**args)
1014
+ end
1015
+
1016
+ # Update properties of this object
1017
+ def update!(**args)
1018
+ @name = args[:name] if args.key?(:name)
1019
+ @ocr_config = args[:ocr_config] if args.key?(:ocr_config)
1020
+ end
1021
+ end
1022
+
995
1023
  # Metadata related to the progress of the SiteSearchEngineService.
996
1024
  # EnableAdvancedSiteSearch operation. This will be returned by the google.
997
1025
  # longrunning.Operation.metadata field.
@@ -1750,6 +1778,42 @@ module Google
1750
1778
  end
1751
1779
  end
1752
1780
 
1781
+ # The OCR options for parsing documents.
1782
+ class GoogleCloudDiscoveryengineV1alphaOcrConfig
1783
+ include Google::Apis::Core::Hashable
1784
+
1785
+ # Required. If OCR is enabled or not. OCR must be enabled for other OcrConfig
1786
+ # options to apply.
1787
+ # Corresponds to the JSON property `enabled`
1788
+ # @return [Boolean]
1789
+ attr_accessor :enabled
1790
+ alias_method :enabled?, :enabled
1791
+
1792
+ # Apply additional enhanced OCR processing to a list of document elements.
1793
+ # Supported values: * `table`: advanced table parsing model.
1794
+ # Corresponds to the JSON property `enhancedDocumentElements`
1795
+ # @return [Array<String>]
1796
+ attr_accessor :enhanced_document_elements
1797
+
1798
+ # If true, will use native text instead of OCR text on pages containing native
1799
+ # text.
1800
+ # Corresponds to the JSON property `useNativeText`
1801
+ # @return [Boolean]
1802
+ attr_accessor :use_native_text
1803
+ alias_method :use_native_text?, :use_native_text
1804
+
1805
+ def initialize(**args)
1806
+ update!(**args)
1807
+ end
1808
+
1809
+ # Update properties of this object
1810
+ def update!(**args)
1811
+ @enabled = args[:enabled] if args.key?(:enabled)
1812
+ @enhanced_document_elements = args[:enhanced_document_elements] if args.key?(:enhanced_document_elements)
1813
+ @use_native_text = args[:use_native_text] if args.key?(:use_native_text)
1814
+ end
1815
+ end
1816
+
1753
1817
  # Metadata related to the progress of the PurgeDocuments operation. This will be
1754
1818
  # returned by the google.longrunning.Operation.metadata field.
1755
1819
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231209"
25
+ REVISION = "20231218"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -328,6 +334,12 @@ module Google
328
334
  include Google::Apis::Core::JsonObjectSupport
329
335
  end
330
336
 
337
+ class GoogleCloudDiscoveryengineV1alphaOcrConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
331
343
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
332
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
345
 
@@ -1221,6 +1233,15 @@ module Google
1221
1233
  end
1222
1234
  end
1223
1235
 
1236
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
1237
+ # @private
1238
+ class Representation < Google::Apis::Core::JsonRepresentation
1239
+ property :name, as: 'name'
1240
+ property :ocr_config, as: 'ocrConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig::Representation
1241
+
1242
+ end
1243
+ end
1244
+
1224
1245
  class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata
1225
1246
  # @private
1226
1247
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1416,6 +1437,15 @@ module Google
1416
1437
  end
1417
1438
  end
1418
1439
 
1440
+ class GoogleCloudDiscoveryengineV1alphaOcrConfig
1441
+ # @private
1442
+ class Representation < Google::Apis::Core::JsonRepresentation
1443
+ property :enabled, as: 'enabled'
1444
+ collection :enhanced_document_elements, as: 'enhancedDocumentElements'
1445
+ property :use_native_text, as: 'useNativeText'
1446
+ end
1447
+ end
1448
+
1419
1449
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
1420
1450
  # @private
1421
1451
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-17 00:00:00.000000000 Z
11
+ date: 2023-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []