google-apis-discoveryengine_v1alpha 0.33.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +103 -2
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +60 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be0c46d43095e5fa21901064ef36cc07c5b9335314f1d8935d41052ba1f88fbd
|
4
|
+
data.tar.gz: edc3f3acb0355baf98d19fba820e45b4706d0d9a4636414f28a9e290ab86e6e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0212532e0877f11a2e0ab631285deb2a511cd7861e2c4023f66d9a36a8062825978645d1d1c38ed556fc9a53f56558f02ce6b70f5ba0077541146d62c09efc8
|
7
|
+
data.tar.gz: d921fe2918c33867fd15447587c67d2d91862bfd6e46d0e92d982c769b8de42604ad705b0f8374b7d3cdb04237f19cb8f1a6b49952079b1c97813484c03cd965
|
data/CHANGELOG.md
CHANGED
@@ -2398,6 +2398,19 @@ module Google
|
|
2398
2398
|
end
|
2399
2399
|
end
|
2400
2400
|
|
2401
|
+
# The digital parsing configurations for documents.
|
2402
|
+
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
2403
|
+
include Google::Apis::Core::Hashable
|
2404
|
+
|
2405
|
+
def initialize(**args)
|
2406
|
+
update!(**args)
|
2407
|
+
end
|
2408
|
+
|
2409
|
+
# Update properties of this object
|
2410
|
+
def update!(**args)
|
2411
|
+
end
|
2412
|
+
end
|
2413
|
+
|
2401
2414
|
# Metadata related to the progress of the SiteSearchEngineService.
|
2402
2415
|
# DisableAdvancedSiteSearch operation. This will be returned by the google.
|
2403
2416
|
# longrunning.Operation.metadata field.
|
@@ -2623,8 +2636,13 @@ module Google
|
|
2623
2636
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
2624
2637
|
include Google::Apis::Core::Hashable
|
2625
2638
|
|
2626
|
-
#
|
2627
|
-
# `
|
2639
|
+
# Related configurations applied to a specific type of document parser.
|
2640
|
+
# Corresponds to the JSON property `defaultParsingConfig`
|
2641
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig]
|
2642
|
+
attr_accessor :default_parsing_config
|
2643
|
+
|
2644
|
+
# The full resource name of the Document Processing Config. Format: `projects/*/
|
2645
|
+
# locations/*/collections/*/dataStores/*/documentProcessingConfig`.
|
2628
2646
|
# Corresponds to the JSON property `name`
|
2629
2647
|
# @return [String]
|
2630
2648
|
attr_accessor :name
|
@@ -2634,14 +2652,56 @@ module Google
|
|
2634
2652
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrConfig]
|
2635
2653
|
attr_accessor :ocr_config
|
2636
2654
|
|
2655
|
+
# Map from file type to override the default parsing configuration based on the
|
2656
|
+
# file type. Supported keys: * `pdf`: Override parsing config for PDF files,
|
2657
|
+
# either digital parsing, ocr parsing or layout parsing is supported. * `html`:
|
2658
|
+
# Override parsing config for HTML files, only digital parsing and or layout
|
2659
|
+
# parsing are supported.
|
2660
|
+
# Corresponds to the JSON property `parsingConfigOverrides`
|
2661
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig>]
|
2662
|
+
attr_accessor :parsing_config_overrides
|
2663
|
+
|
2637
2664
|
def initialize(**args)
|
2638
2665
|
update!(**args)
|
2639
2666
|
end
|
2640
2667
|
|
2641
2668
|
# Update properties of this object
|
2642
2669
|
def update!(**args)
|
2670
|
+
@default_parsing_config = args[:default_parsing_config] if args.key?(:default_parsing_config)
|
2643
2671
|
@name = args[:name] if args.key?(:name)
|
2644
2672
|
@ocr_config = args[:ocr_config] if args.key?(:ocr_config)
|
2673
|
+
@parsing_config_overrides = args[:parsing_config_overrides] if args.key?(:parsing_config_overrides)
|
2674
|
+
end
|
2675
|
+
end
|
2676
|
+
|
2677
|
+
# Related configurations applied to a specific type of document parser.
|
2678
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
|
2679
|
+
include Google::Apis::Core::Hashable
|
2680
|
+
|
2681
|
+
# The digital parsing configurations for documents.
|
2682
|
+
# Corresponds to the JSON property `digitalParsingConfig`
|
2683
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig]
|
2684
|
+
attr_accessor :digital_parsing_config
|
2685
|
+
|
2686
|
+
# The layout parsing configurations for documents.
|
2687
|
+
# Corresponds to the JSON property `layoutParsingConfig`
|
2688
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig]
|
2689
|
+
attr_accessor :layout_parsing_config
|
2690
|
+
|
2691
|
+
# The OCR parsing configurations for documents.
|
2692
|
+
# Corresponds to the JSON property `ocrParsingConfig`
|
2693
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig]
|
2694
|
+
attr_accessor :ocr_parsing_config
|
2695
|
+
|
2696
|
+
def initialize(**args)
|
2697
|
+
update!(**args)
|
2698
|
+
end
|
2699
|
+
|
2700
|
+
# Update properties of this object
|
2701
|
+
def update!(**args)
|
2702
|
+
@digital_parsing_config = args[:digital_parsing_config] if args.key?(:digital_parsing_config)
|
2703
|
+
@layout_parsing_config = args[:layout_parsing_config] if args.key?(:layout_parsing_config)
|
2704
|
+
@ocr_parsing_config = args[:ocr_parsing_config] if args.key?(:ocr_parsing_config)
|
2645
2705
|
end
|
2646
2706
|
end
|
2647
2707
|
|
@@ -3916,6 +3976,19 @@ module Google
|
|
3916
3976
|
end
|
3917
3977
|
end
|
3918
3978
|
|
3979
|
+
# The layout parsing configurations for documents.
|
3980
|
+
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
3981
|
+
include Google::Apis::Core::Hashable
|
3982
|
+
|
3983
|
+
def initialize(**args)
|
3984
|
+
update!(**args)
|
3985
|
+
end
|
3986
|
+
|
3987
|
+
# Update properties of this object
|
3988
|
+
def update!(**args)
|
3989
|
+
end
|
3990
|
+
end
|
3991
|
+
|
3919
3992
|
# Response for ListConversations method.
|
3920
3993
|
class GoogleCloudDiscoveryengineV1alphaListConversationsResponse
|
3921
3994
|
include Google::Apis::Core::Hashable
|
@@ -4182,6 +4255,34 @@ module Google
|
|
4182
4255
|
end
|
4183
4256
|
end
|
4184
4257
|
|
4258
|
+
# The OCR parsing configurations for documents.
|
4259
|
+
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
4260
|
+
include Google::Apis::Core::Hashable
|
4261
|
+
|
4262
|
+
# Apply additional enhanced OCR processing to a list of document elements.
|
4263
|
+
# Supported values: * `table`: advanced table parsing model.
|
4264
|
+
# Corresponds to the JSON property `enhancedDocumentElements`
|
4265
|
+
# @return [Array<String>]
|
4266
|
+
attr_accessor :enhanced_document_elements
|
4267
|
+
|
4268
|
+
# If true, will use native text instead of OCR text on pages containing native
|
4269
|
+
# text.
|
4270
|
+
# Corresponds to the JSON property `useNativeText`
|
4271
|
+
# @return [Boolean]
|
4272
|
+
attr_accessor :use_native_text
|
4273
|
+
alias_method :use_native_text?, :use_native_text
|
4274
|
+
|
4275
|
+
def initialize(**args)
|
4276
|
+
update!(**args)
|
4277
|
+
end
|
4278
|
+
|
4279
|
+
# Update properties of this object
|
4280
|
+
def update!(**args)
|
4281
|
+
@enhanced_document_elements = args[:enhanced_document_elements] if args.key?(:enhanced_document_elements)
|
4282
|
+
@use_native_text = args[:use_native_text] if args.key?(:use_native_text)
|
4283
|
+
end
|
4284
|
+
end
|
4285
|
+
|
4185
4286
|
# Detailed page information.
|
4186
4287
|
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
4187
4288
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1alpha
|
18
18
|
# Version of the google-apis-discoveryengine_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
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
|
@@ -454,6 +454,12 @@ module Google
|
|
454
454
|
include Google::Apis::Core::JsonObjectSupport
|
455
455
|
end
|
456
456
|
|
457
|
+
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
457
463
|
class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
|
458
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
465
|
|
@@ -496,6 +502,12 @@ module Google
|
|
496
502
|
include Google::Apis::Core::JsonObjectSupport
|
497
503
|
end
|
498
504
|
|
505
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
499
511
|
class GoogleCloudDiscoveryengineV1alphaDoubleList
|
500
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
513
|
|
@@ -718,6 +730,12 @@ module Google
|
|
718
730
|
include Google::Apis::Core::JsonObjectSupport
|
719
731
|
end
|
720
732
|
|
733
|
+
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
|
+
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
737
|
+
end
|
738
|
+
|
721
739
|
class GoogleCloudDiscoveryengineV1alphaListConversationsResponse
|
722
740
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
741
|
|
@@ -778,6 +796,12 @@ module Google
|
|
778
796
|
include Google::Apis::Core::JsonObjectSupport
|
779
797
|
end
|
780
798
|
|
799
|
+
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
|
+
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
803
|
+
end
|
804
|
+
|
781
805
|
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
782
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
807
|
|
@@ -2212,6 +2236,12 @@ module Google
|
|
2212
2236
|
end
|
2213
2237
|
end
|
2214
2238
|
|
2239
|
+
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
2240
|
+
# @private
|
2241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2242
|
+
end
|
2243
|
+
end
|
2244
|
+
|
2215
2245
|
class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
|
2216
2246
|
# @private
|
2217
2247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2270,9 +2300,25 @@ module Google
|
|
2270
2300
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
|
2271
2301
|
# @private
|
2272
2302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2303
|
+
property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
|
2304
|
+
|
2273
2305
|
property :name, as: 'name'
|
2274
2306
|
property :ocr_config, as: 'ocrConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrConfig::Representation
|
2275
2307
|
|
2308
|
+
hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
|
2309
|
+
|
2310
|
+
end
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
|
2314
|
+
# @private
|
2315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2316
|
+
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig::Representation
|
2317
|
+
|
2318
|
+
property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig::Representation
|
2319
|
+
|
2320
|
+
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig::Representation
|
2321
|
+
|
2276
2322
|
end
|
2277
2323
|
end
|
2278
2324
|
|
@@ -2633,6 +2679,12 @@ module Google
|
|
2633
2679
|
end
|
2634
2680
|
end
|
2635
2681
|
|
2682
|
+
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
2683
|
+
# @private
|
2684
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2685
|
+
end
|
2686
|
+
end
|
2687
|
+
|
2636
2688
|
class GoogleCloudDiscoveryengineV1alphaListConversationsResponse
|
2637
2689
|
# @private
|
2638
2690
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2720,6 +2772,14 @@ module Google
|
|
2720
2772
|
end
|
2721
2773
|
end
|
2722
2774
|
|
2775
|
+
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
2776
|
+
# @private
|
2777
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2778
|
+
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
2779
|
+
property :use_native_text, as: 'useNativeText'
|
2780
|
+
end
|
2781
|
+
end
|
2782
|
+
|
2723
2783
|
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
2724
2784
|
# @private
|
2725
2785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -670,8 +670,8 @@ module Google
|
|
670
670
|
# resource of DataStore. It's empty when DataStore is created. The first call to
|
671
671
|
# this method will set up DocumentProcessingConfig.
|
672
672
|
# @param [String] name
|
673
|
-
#
|
674
|
-
#
|
673
|
+
# The full resource name of the Document Processing Config. Format: `projects/*/
|
674
|
+
# locations/*/collections/*/dataStores/*/documentProcessingConfig`.
|
675
675
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig] google_cloud_discoveryengine_v1alpha_document_processing_config_object
|
676
676
|
# @param [String] update_mask
|
677
677
|
# Indicates which fields in the provided DocumentProcessingConfig to update. The
|
@@ -3612,8 +3612,8 @@ module Google
|
|
3612
3612
|
# resource of DataStore. It's empty when DataStore is created. The first call to
|
3613
3613
|
# this method will set up DocumentProcessingConfig.
|
3614
3614
|
# @param [String] name
|
3615
|
-
#
|
3616
|
-
#
|
3615
|
+
# The full resource name of the Document Processing Config. Format: `projects/*/
|
3616
|
+
# locations/*/collections/*/dataStores/*/documentProcessingConfig`.
|
3617
3617
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig] google_cloud_discoveryengine_v1alpha_document_processing_config_object
|
3618
3618
|
# @param [String] update_mask
|
3619
3619
|
# Indicates which fields in the provided DocumentProcessingConfig to update. The
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|