google-apis-discoveryengine_v1beta 0.32.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dae342a275dbbc1221ed6c5945fe50ce7c5d9871691ef5821aa0b9e092503808
|
4
|
+
data.tar.gz: 9fb4c1abf0147b03f726a8ad1f5eaf1ab0dbc25c77c2b23b581d0ec10255515c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a2b7649506bfbf498a8219c863956d855927d7325c8bcf0a80fe248c48a81a52370ac7fb8911af217d5660a7520078ffa414a8c5dd3909ea9bf3db78e9d1a93
|
7
|
+
data.tar.gz: 6728a2f2a453926fc73983586280e7d488fb3b2c428a96072bb16de8982c7ad9e6d59569b19d20d341f137d467619beb6e3de757bf3bb7cb56fb9138c0b161a6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.33.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240129
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.32.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240118
|
@@ -1832,6 +1832,19 @@ module Google
|
|
1832
1832
|
end
|
1833
1833
|
end
|
1834
1834
|
|
1835
|
+
# The digital parsing configurations for documents.
|
1836
|
+
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
1837
|
+
include Google::Apis::Core::Hashable
|
1838
|
+
|
1839
|
+
def initialize(**args)
|
1840
|
+
update!(**args)
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
# Update properties of this object
|
1844
|
+
def update!(**args)
|
1845
|
+
end
|
1846
|
+
end
|
1847
|
+
|
1835
1848
|
# Metadata related to the progress of the SiteSearchEngineService.
|
1836
1849
|
# DisableAdvancedSiteSearch operation. This will be returned by the google.
|
1837
1850
|
# longrunning.Operation.metadata field.
|
@@ -1879,8 +1892,13 @@ module Google
|
|
1879
1892
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
1880
1893
|
include Google::Apis::Core::Hashable
|
1881
1894
|
|
1882
|
-
#
|
1883
|
-
# `
|
1895
|
+
# Related configurations applied to a specific type of document parser.
|
1896
|
+
# Corresponds to the JSON property `defaultParsingConfig`
|
1897
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig]
|
1898
|
+
attr_accessor :default_parsing_config
|
1899
|
+
|
1900
|
+
# The full resource name of the Document Processing Config. Format: `projects/*/
|
1901
|
+
# locations/*/collections/*/dataStores/*/documentProcessingConfig`.
|
1884
1902
|
# Corresponds to the JSON property `name`
|
1885
1903
|
# @return [String]
|
1886
1904
|
attr_accessor :name
|
@@ -1890,14 +1908,56 @@ module Google
|
|
1890
1908
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig]
|
1891
1909
|
attr_accessor :ocr_config
|
1892
1910
|
|
1911
|
+
# Map from file type to override the default parsing configuration based on the
|
1912
|
+
# file type. Supported keys: * `pdf`: Override parsing config for PDF files,
|
1913
|
+
# either digital parsing, ocr parsing or layout parsing is supported. * `html`:
|
1914
|
+
# Override parsing config for HTML files, only digital parsing and or layout
|
1915
|
+
# parsing are supported.
|
1916
|
+
# Corresponds to the JSON property `parsingConfigOverrides`
|
1917
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig>]
|
1918
|
+
attr_accessor :parsing_config_overrides
|
1919
|
+
|
1893
1920
|
def initialize(**args)
|
1894
1921
|
update!(**args)
|
1895
1922
|
end
|
1896
1923
|
|
1897
1924
|
# Update properties of this object
|
1898
1925
|
def update!(**args)
|
1926
|
+
@default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
|
1899
1927
|
@name = args[:name] if args.key?(:name)
|
1900
1928
|
@ocr_config = args[:ocr_config] if args.key?(:ocr_config)
|
1929
|
+
@parsing_config_overrides = args[:parsing_config_overrides] if args.key?(:parsing_config_overrides)
|
1930
|
+
end
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# Related configurations applied to a specific type of document parser.
|
1934
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
|
1935
|
+
include Google::Apis::Core::Hashable
|
1936
|
+
|
1937
|
+
# The digital parsing configurations for documents.
|
1938
|
+
# Corresponds to the JSON property `digitalParsingConfig`
|
1939
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig]
|
1940
|
+
attr_accessor :digital_parsing_config
|
1941
|
+
|
1942
|
+
# The layout parsing configurations for documents.
|
1943
|
+
# Corresponds to the JSON property `layoutParsingConfig`
|
1944
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig]
|
1945
|
+
attr_accessor :layout_parsing_config
|
1946
|
+
|
1947
|
+
# The OCR parsing configurations for documents.
|
1948
|
+
# Corresponds to the JSON property `ocrParsingConfig`
|
1949
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig]
|
1950
|
+
attr_accessor :ocr_parsing_config
|
1951
|
+
|
1952
|
+
def initialize(**args)
|
1953
|
+
update!(**args)
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# Update properties of this object
|
1957
|
+
def update!(**args)
|
1958
|
+
@digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config)
|
1959
|
+
@layout_parsing_config = args[:layout_parsing_config] if args.key?(:layout_parsing_config)
|
1960
|
+
@ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config)
|
1901
1961
|
end
|
1902
1962
|
end
|
1903
1963
|
|
@@ -2725,6 +2785,19 @@ module Google
|
|
2725
2785
|
end
|
2726
2786
|
end
|
2727
2787
|
|
2788
|
+
# The layout parsing configurations for documents.
|
2789
|
+
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
2790
|
+
include Google::Apis::Core::Hashable
|
2791
|
+
|
2792
|
+
def initialize(**args)
|
2793
|
+
update!(**args)
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
# Update properties of this object
|
2797
|
+
def update!(**args)
|
2798
|
+
end
|
2799
|
+
end
|
2800
|
+
|
2728
2801
|
# The OCR options for parsing documents.
|
2729
2802
|
class GoogleCloudDiscoveryengineV1alphaOcrConfig
|
2730
2803
|
include Google::Apis::Core::Hashable
|
@@ -2762,6 +2835,34 @@ module Google
|
|
2762
2835
|
end
|
2763
2836
|
end
|
2764
2837
|
|
2838
|
+
# The OCR parsing configurations for documents.
|
2839
|
+
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
2840
|
+
include Google::Apis::Core::Hashable
|
2841
|
+
|
2842
|
+
# Apply additional enhanced OCR processing to a list of document elements.
|
2843
|
+
# Supported values: * `table`: advanced table parsing model.
|
2844
|
+
# Corresponds to the JSON property `enhancedDocumentElements`
|
2845
|
+
# @return [Array<String>]
|
2846
|
+
attr_accessor :enhanced_document_elements
|
2847
|
+
|
2848
|
+
# If true, will use native text instead of OCR text on pages containing native
|
2849
|
+
# text.
|
2850
|
+
# Corresponds to the JSON property `useNativeText`
|
2851
|
+
# @return [Boolean]
|
2852
|
+
attr_accessor :use_native_text
|
2853
|
+
alias_method :use_native_text?, :use_native_text
|
2854
|
+
|
2855
|
+
def initialize(**args)
|
2856
|
+
update!(**args)
|
2857
|
+
end
|
2858
|
+
|
2859
|
+
# Update properties of this object
|
2860
|
+
def update!(**args)
|
2861
|
+
@enhanced_document_elements = args[:enhanced_document_elements] if args.key?(:enhanced_document_elements)
|
2862
|
+
@use_native_text = args[:use_native_text] if args.key?(:use_native_text)
|
2863
|
+
end
|
2864
|
+
end
|
2865
|
+
|
2765
2866
|
# Metadata related to the progress of the PurgeDocuments operation. This will be
|
2766
2867
|
# returned by the google.longrunning.Operation.metadata field.
|
2767
2868
|
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.
|
19
|
+
GEM_VERSION = "0.33.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -364,6 +364,12 @@ module Google
|
|
364
364
|
include Google::Apis::Core::JsonObjectSupport
|
365
365
|
end
|
366
366
|
|
367
|
+
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
367
373
|
class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
|
368
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
375
|
|
@@ -382,6 +388,12 @@ module Google
|
|
382
388
|
include Google::Apis::Core::JsonObjectSupport
|
383
389
|
end
|
384
390
|
|
391
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
385
397
|
class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata
|
386
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
399
|
|
@@ -514,12 +526,24 @@ module Google
|
|
514
526
|
include Google::Apis::Core::JsonObjectSupport
|
515
527
|
end
|
516
528
|
|
529
|
+
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
517
535
|
class GoogleCloudDiscoveryengineV1alphaOcrConfig
|
518
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
537
|
|
520
538
|
include Google::Apis::Core::JsonObjectSupport
|
521
539
|
end
|
522
540
|
|
541
|
+
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
523
547
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
524
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
549
|
|
@@ -1919,6 +1943,12 @@ module Google
|
|
1919
1943
|
end
|
1920
1944
|
end
|
1921
1945
|
|
1946
|
+
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
1947
|
+
# @private
|
1948
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1949
|
+
end
|
1950
|
+
end
|
1951
|
+
|
1922
1952
|
class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
|
1923
1953
|
# @private
|
1924
1954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1936,9 +1966,25 @@ module Google
|
|
1936
1966
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
1937
1967
|
# @private
|
1938
1968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1969
|
+
property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
|
1970
|
+
|
1939
1971
|
property :name, as: 'name'
|
1940
1972
|
property :ocr_config, as: 'ocrConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig::Representation
|
1941
1973
|
|
1974
|
+
hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
|
1975
|
+
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
|
1980
|
+
# @private
|
1981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1982
|
+
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig::Representation
|
1983
|
+
|
1984
|
+
property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig::Representation
|
1985
|
+
|
1986
|
+
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig::Representation
|
1987
|
+
|
1942
1988
|
end
|
1943
1989
|
end
|
1944
1990
|
|
@@ -2156,6 +2202,12 @@ module Google
|
|
2156
2202
|
end
|
2157
2203
|
end
|
2158
2204
|
|
2205
|
+
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
2206
|
+
# @private
|
2207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2208
|
+
end
|
2209
|
+
end
|
2210
|
+
|
2159
2211
|
class GoogleCloudDiscoveryengineV1alphaOcrConfig
|
2160
2212
|
# @private
|
2161
2213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2165,6 +2217,14 @@ module Google
|
|
2165
2217
|
end
|
2166
2218
|
end
|
2167
2219
|
|
2220
|
+
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
2221
|
+
# @private
|
2222
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2223
|
+
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
2224
|
+
property :use_native_text, as: 'useNativeText'
|
2225
|
+
end
|
2226
|
+
end
|
2227
|
+
|
2168
2228
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
2169
2229
|
# @private
|
2170
2230
|
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.
|
4
|
+
version: 0.33.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: 2024-
|
11
|
+
date: 2024-02-04 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.33.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: []
|