google-apis-discoveryengine_v1beta 0.38.0 → 0.40.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 +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +347 -210
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +177 -115
- data/lib/google/apis/discoveryengine_v1beta/service.rb +52 -17
- metadata +3 -3
@@ -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.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240318"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,31 +130,37 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
-
class
|
145
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
147
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
-
class
|
151
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
|
152
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
153
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
-
class
|
157
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
160
166
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -250,12 +256,6 @@ module Google
|
|
250
256
|
include Google::Apis::Core::JsonObjectSupport
|
251
257
|
end
|
252
258
|
|
253
|
-
class GoogleCloudDiscoveryengineV1OcrParsingConfig
|
254
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
-
|
256
|
-
include Google::Apis::Core::JsonObjectSupport
|
257
|
-
end
|
258
|
-
|
259
259
|
class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
|
260
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
261
|
|
@@ -394,12 +394,6 @@ module Google
|
|
394
394
|
include Google::Apis::Core::JsonObjectSupport
|
395
395
|
end
|
396
396
|
|
397
|
-
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
398
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
-
|
400
|
-
include Google::Apis::Core::JsonObjectSupport
|
401
|
-
end
|
402
|
-
|
403
397
|
class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
|
404
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
399
|
|
@@ -436,6 +430,24 @@ module Google
|
|
436
430
|
include Google::Apis::Core::JsonObjectSupport
|
437
431
|
end
|
438
432
|
|
433
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
439
451
|
class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata
|
440
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
453
|
|
@@ -580,24 +592,6 @@ module Google
|
|
580
592
|
include Google::Apis::Core::JsonObjectSupport
|
581
593
|
end
|
582
594
|
|
583
|
-
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
584
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
-
|
586
|
-
include Google::Apis::Core::JsonObjectSupport
|
587
|
-
end
|
588
|
-
|
589
|
-
class GoogleCloudDiscoveryengineV1alphaOcrConfig
|
590
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
-
|
592
|
-
include Google::Apis::Core::JsonObjectSupport
|
593
|
-
end
|
594
|
-
|
595
|
-
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
596
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
-
|
598
|
-
include Google::Apis::Core::JsonObjectSupport
|
599
|
-
end
|
600
|
-
|
601
595
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
602
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
597
|
|
@@ -868,12 +862,6 @@ module Google
|
|
868
862
|
include Google::Apis::Core::JsonObjectSupport
|
869
863
|
end
|
870
864
|
|
871
|
-
class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
|
872
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
-
|
874
|
-
include Google::Apis::Core::JsonObjectSupport
|
875
|
-
end
|
876
|
-
|
877
865
|
class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
|
878
866
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
867
|
|
@@ -922,6 +910,18 @@ module Google
|
|
922
910
|
include Google::Apis::Core::JsonObjectSupport
|
923
911
|
end
|
924
912
|
|
913
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
919
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
925
925
|
class GoogleCloudDiscoveryengineV1betaDoubleList
|
926
926
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
927
|
|
@@ -1132,12 +1132,6 @@ module Google
|
|
1132
1132
|
include Google::Apis::Core::JsonObjectSupport
|
1133
1133
|
end
|
1134
1134
|
|
1135
|
-
class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
|
1136
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
-
|
1138
|
-
include Google::Apis::Core::JsonObjectSupport
|
1139
|
-
end
|
1140
|
-
|
1141
1135
|
class GoogleCloudDiscoveryengineV1betaPageInfo
|
1142
1136
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
1137
|
|
@@ -1288,6 +1282,12 @@ module Google
|
|
1288
1282
|
include Google::Apis::Core::JsonObjectSupport
|
1289
1283
|
end
|
1290
1284
|
|
1285
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
1286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
+
|
1288
|
+
include Google::Apis::Core::JsonObjectSupport
|
1289
|
+
end
|
1290
|
+
|
1291
1291
|
class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
|
1292
1292
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
1293
|
|
@@ -1480,6 +1480,30 @@ module Google
|
|
1480
1480
|
include Google::Apis::Core::JsonObjectSupport
|
1481
1481
|
end
|
1482
1482
|
|
1483
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata
|
1484
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1485
|
+
|
1486
|
+
include Google::Apis::Core::JsonObjectSupport
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
|
1490
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1491
|
+
|
1492
|
+
include Google::Apis::Core::JsonObjectSupport
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput
|
1496
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
|
+
|
1498
|
+
include Google::Apis::Core::JsonObjectSupport
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
+
|
1504
|
+
include Google::Apis::Core::JsonObjectSupport
|
1505
|
+
end
|
1506
|
+
|
1483
1507
|
class GoogleCloudDiscoveryengineV1betaTransactionInfo
|
1484
1508
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1485
1509
|
|
@@ -1705,12 +1729,6 @@ module Google
|
|
1705
1729
|
end
|
1706
1730
|
end
|
1707
1731
|
|
1708
|
-
class GoogleCloudDiscoveryengineV1DigitalParsingConfig
|
1709
|
-
# @private
|
1710
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1711
|
-
end
|
1712
|
-
end
|
1713
|
-
|
1714
1732
|
class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
|
1715
1733
|
# @private
|
1716
1734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1739,10 +1757,24 @@ module Google
|
|
1739
1757
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
|
1740
1758
|
# @private
|
1741
1759
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1742
|
-
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::
|
1760
|
+
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
|
1761
|
+
|
1762
|
+
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
|
1763
|
+
|
1764
|
+
end
|
1765
|
+
end
|
1743
1766
|
|
1744
|
-
|
1767
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig
|
1768
|
+
# @private
|
1769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1770
|
+
end
|
1771
|
+
end
|
1745
1772
|
|
1773
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
|
1774
|
+
# @private
|
1775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1776
|
+
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
1777
|
+
property :use_native_text, as: 'useNativeText'
|
1746
1778
|
end
|
1747
1779
|
end
|
1748
1780
|
|
@@ -1889,14 +1921,6 @@ module Google
|
|
1889
1921
|
end
|
1890
1922
|
end
|
1891
1923
|
|
1892
|
-
class GoogleCloudDiscoveryengineV1OcrParsingConfig
|
1893
|
-
# @private
|
1894
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1895
|
-
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
1896
|
-
property :use_native_text, as: 'useNativeText'
|
1897
|
-
end
|
1898
|
-
end
|
1899
|
-
|
1900
1924
|
class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
|
1901
1925
|
# @private
|
1902
1926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2107,12 +2131,6 @@ module Google
|
|
2107
2131
|
end
|
2108
2132
|
end
|
2109
2133
|
|
2110
|
-
class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
|
2111
|
-
# @private
|
2112
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2113
|
-
end
|
2114
|
-
end
|
2115
|
-
|
2116
2134
|
class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
|
2117
2135
|
# @private
|
2118
2136
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2135,8 +2153,6 @@ module Google
|
|
2135
2153
|
property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
|
2136
2154
|
|
2137
2155
|
property :name, as: 'name'
|
2138
|
-
property :ocr_config, as: 'ocrConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaOcrConfig::Representation
|
2139
|
-
|
2140
2156
|
hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
|
2141
2157
|
|
2142
2158
|
end
|
@@ -2161,12 +2177,32 @@ module Google
|
|
2161
2177
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
|
2162
2178
|
# @private
|
2163
2179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2164
|
-
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::
|
2180
|
+
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
|
2181
|
+
|
2182
|
+
property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
|
2183
|
+
|
2184
|
+
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
|
2185
|
+
|
2186
|
+
end
|
2187
|
+
end
|
2165
2188
|
|
2166
|
-
|
2189
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig
|
2190
|
+
# @private
|
2191
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2192
|
+
end
|
2193
|
+
end
|
2167
2194
|
|
2168
|
-
|
2195
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
2196
|
+
# @private
|
2197
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2198
|
+
end
|
2199
|
+
end
|
2169
2200
|
|
2201
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
2202
|
+
# @private
|
2203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2204
|
+
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
2205
|
+
property :use_native_text, as: 'useNativeText'
|
2170
2206
|
end
|
2171
2207
|
end
|
2172
2208
|
|
@@ -2187,7 +2223,6 @@ module Google
|
|
2187
2223
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
2188
2224
|
# @private
|
2189
2225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2190
|
-
property :allow_multiple_data_stores_search_engine, as: 'allowMultipleDataStoresSearchEngine'
|
2191
2226
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
|
2192
2227
|
|
2193
2228
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
|
@@ -2401,29 +2436,6 @@ module Google
|
|
2401
2436
|
end
|
2402
2437
|
end
|
2403
2438
|
|
2404
|
-
class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
|
2405
|
-
# @private
|
2406
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2407
|
-
end
|
2408
|
-
end
|
2409
|
-
|
2410
|
-
class GoogleCloudDiscoveryengineV1alphaOcrConfig
|
2411
|
-
# @private
|
2412
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2413
|
-
property :enabled, as: 'enabled'
|
2414
|
-
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
2415
|
-
property :use_native_text, as: 'useNativeText'
|
2416
|
-
end
|
2417
|
-
end
|
2418
|
-
|
2419
|
-
class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
|
2420
|
-
# @private
|
2421
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2422
|
-
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
2423
|
-
property :use_native_text, as: 'useNativeText'
|
2424
|
-
end
|
2425
|
-
end
|
2426
|
-
|
2427
2439
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
2428
2440
|
# @private
|
2429
2441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2844,12 +2856,6 @@ module Google
|
|
2844
2856
|
end
|
2845
2857
|
end
|
2846
2858
|
|
2847
|
-
class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
|
2848
|
-
# @private
|
2849
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2850
|
-
end
|
2851
|
-
end
|
2852
|
-
|
2853
2859
|
class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
|
2854
2860
|
# @private
|
2855
2861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2920,10 +2926,24 @@ module Google
|
|
2920
2926
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
|
2921
2927
|
# @private
|
2922
2928
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2923
|
-
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::
|
2929
|
+
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
|
2930
|
+
|
2931
|
+
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
|
2924
2932
|
|
2925
|
-
|
2933
|
+
end
|
2934
|
+
end
|
2935
|
+
|
2936
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig
|
2937
|
+
# @private
|
2938
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2939
|
+
end
|
2940
|
+
end
|
2926
2941
|
|
2942
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
|
2943
|
+
# @private
|
2944
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2945
|
+
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
2946
|
+
property :use_native_text, as: 'useNativeText'
|
2927
2947
|
end
|
2928
2948
|
end
|
2929
2949
|
|
@@ -3255,14 +3275,6 @@ module Google
|
|
3255
3275
|
end
|
3256
3276
|
end
|
3257
3277
|
|
3258
|
-
class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
|
3259
|
-
# @private
|
3260
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3261
|
-
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
3262
|
-
property :use_native_text, as: 'useNativeText'
|
3263
|
-
end
|
3264
|
-
end
|
3265
|
-
|
3266
3278
|
class GoogleCloudDiscoveryengineV1betaPageInfo
|
3267
3279
|
# @private
|
3268
3280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3422,6 +3434,8 @@ module Google
|
|
3422
3434
|
property :canonical_filter, as: 'canonicalFilter'
|
3423
3435
|
property :content_search_spec, as: 'contentSearchSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec::Representation
|
3424
3436
|
|
3437
|
+
collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
|
3438
|
+
|
3425
3439
|
property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::Representation
|
3426
3440
|
|
3427
3441
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec::Representation
|
@@ -3483,6 +3497,7 @@ module Google
|
|
3483
3497
|
property :max_extractive_segment_count, as: 'maxExtractiveSegmentCount'
|
3484
3498
|
property :num_next_segments, as: 'numNextSegments'
|
3485
3499
|
property :num_previous_segments, as: 'numPreviousSegments'
|
3500
|
+
property :return_extractive_segment_score, as: 'returnExtractiveSegmentScore'
|
3486
3501
|
end
|
3487
3502
|
end
|
3488
3503
|
|
@@ -3507,6 +3522,7 @@ module Google
|
|
3507
3522
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
3508
3523
|
|
3509
3524
|
property :summary_result_count, as: 'summaryResultCount'
|
3525
|
+
property :use_semantic_chunks, as: 'useSemanticChunks'
|
3510
3526
|
end
|
3511
3527
|
end
|
3512
3528
|
|
@@ -3524,6 +3540,13 @@ module Google
|
|
3524
3540
|
end
|
3525
3541
|
end
|
3526
3542
|
|
3543
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
3544
|
+
# @private
|
3545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3546
|
+
property :data_store, as: 'dataStore'
|
3547
|
+
end
|
3548
|
+
end
|
3549
|
+
|
3527
3550
|
class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
|
3528
3551
|
# @private
|
3529
3552
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3780,7 +3803,6 @@ module Google
|
|
3780
3803
|
# @private
|
3781
3804
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3782
3805
|
property :content_freshness_cutoff_days, as: 'contentFreshnessCutoffDays'
|
3783
|
-
property :content_watched_minutes_threshold, as: 'contentWatchedMinutesThreshold'
|
3784
3806
|
property :content_watched_percentage_threshold, as: 'contentWatchedPercentageThreshold'
|
3785
3807
|
property :content_watched_seconds_threshold, as: 'contentWatchedSecondsThreshold'
|
3786
3808
|
property :demotion_event_type, as: 'demotionEventType'
|
@@ -3851,6 +3873,46 @@ module Google
|
|
3851
3873
|
end
|
3852
3874
|
end
|
3853
3875
|
|
3876
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata
|
3877
|
+
# @private
|
3878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3879
|
+
property :create_time, as: 'createTime'
|
3880
|
+
property :update_time, as: 'updateTime'
|
3881
|
+
end
|
3882
|
+
end
|
3883
|
+
|
3884
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
|
3885
|
+
# @private
|
3886
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3887
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
|
3888
|
+
|
3889
|
+
property :gcs_training_input, as: 'gcsTrainingInput', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput::Representation
|
3890
|
+
|
3891
|
+
property :model_type, as: 'modelType'
|
3892
|
+
end
|
3893
|
+
end
|
3894
|
+
|
3895
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput
|
3896
|
+
# @private
|
3897
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3898
|
+
property :corpus_data_path, as: 'corpusDataPath'
|
3899
|
+
property :query_data_path, as: 'queryDataPath'
|
3900
|
+
property :test_data_path, as: 'testDataPath'
|
3901
|
+
property :train_data_path, as: 'trainDataPath'
|
3902
|
+
end
|
3903
|
+
end
|
3904
|
+
|
3905
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse
|
3906
|
+
# @private
|
3907
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3908
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
|
3909
|
+
|
3910
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
3911
|
+
|
3912
|
+
property :model_status, as: 'modelStatus'
|
3913
|
+
end
|
3914
|
+
end
|
3915
|
+
|
3854
3916
|
class GoogleCloudDiscoveryengineV1betaTransactionInfo
|
3855
3917
|
# @private
|
3856
3918
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -144,7 +144,7 @@ module Google
|
|
144
144
|
# imported search events. * `document-completable` - Using suggestions taken
|
145
145
|
# directly from user-imported document fields marked as completable. Default
|
146
146
|
# values: * `document` is the default model for regular dataStores. * `search-
|
147
|
-
# history` is the default model for site search dataStores.
|
147
|
+
# history` is the default model for site search dataStores.
|
148
148
|
# @param [String] user_pseudo_id
|
149
149
|
# A unique identifier for tracking visitors. For example, this could be
|
150
150
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
@@ -424,6 +424,41 @@ module Google
|
|
424
424
|
execute_or_queue_command(command, &block)
|
425
425
|
end
|
426
426
|
|
427
|
+
# Trains a custom model.
|
428
|
+
# @param [String] data_store
|
429
|
+
# Required. The resource name of the Data Store, such as `projects/*/locations/
|
430
|
+
# global/collections/default_collection/dataStores/default_data_store`. This
|
431
|
+
# field is used to identify the data store where to train the models.
|
432
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest] google_cloud_discoveryengine_v1beta_train_custom_model_request_object
|
433
|
+
# @param [String] fields
|
434
|
+
# Selector specifying which fields to include in a partial response.
|
435
|
+
# @param [String] quota_user
|
436
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
437
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
438
|
+
# @param [Google::Apis::RequestOptions] options
|
439
|
+
# Request-specific options
|
440
|
+
#
|
441
|
+
# @yield [result, err] Result & error if block supplied
|
442
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
443
|
+
# @yieldparam err [StandardError] error object if request failed
|
444
|
+
#
|
445
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
446
|
+
#
|
447
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
448
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
449
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
450
|
+
def train_project_location_collection_data_store_custom_model(data_store, google_cloud_discoveryengine_v1beta_train_custom_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
451
|
+
command = make_simple_command(:post, 'v1beta/{+dataStore}:trainCustomModel', options)
|
452
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest::Representation
|
453
|
+
command.request_object = google_cloud_discoveryengine_v1beta_train_custom_model_request_object
|
454
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
455
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
456
|
+
command.params['dataStore'] = data_store unless data_store.nil?
|
457
|
+
command.query['fields'] = fields unless fields.nil?
|
458
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
459
|
+
execute_or_queue_command(command, &block)
|
460
|
+
end
|
461
|
+
|
427
462
|
# Creates a Document.
|
428
463
|
# @param [String] parent
|
429
464
|
# Required. The parent resource name, such as `projects/`project`/locations/`
|
@@ -1403,8 +1438,8 @@ module Google
|
|
1403
1438
|
# exist.
|
1404
1439
|
# @param [String] name
|
1405
1440
|
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
1406
|
-
# project_number`/locations/`location`/collections/`collection`/
|
1407
|
-
#
|
1441
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine`/
|
1442
|
+
# servingConfigs/`serving_config_id``
|
1408
1443
|
# @param [String] fields
|
1409
1444
|
# Selector specifying which fields to include in a partial response.
|
1410
1445
|
# @param [String] quota_user
|
@@ -1434,8 +1469,8 @@ module Google
|
|
1434
1469
|
|
1435
1470
|
# Lists all ServingConfigs linked to this dataStore.
|
1436
1471
|
# @param [String] parent
|
1437
|
-
# Required.
|
1438
|
-
# locations/`location`/collections/`collection`/
|
1472
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
1473
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine``
|
1439
1474
|
# @param [Fixnum] page_size
|
1440
1475
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
1441
1476
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -1475,7 +1510,7 @@ module Google
|
|
1475
1510
|
# not exist.
|
1476
1511
|
# @param [String] name
|
1477
1512
|
# Immutable. Fully qualified name `projects/`project`/locations/`location`/
|
1478
|
-
# collections/`collection_id`/
|
1513
|
+
# collections/`collection_id`/engines/`engine_id`/servingConfigs/`
|
1479
1514
|
# serving_config_id``
|
1480
1515
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
|
1481
1516
|
# @param [String] update_mask
|
@@ -2815,8 +2850,8 @@ module Google
|
|
2815
2850
|
# exist.
|
2816
2851
|
# @param [String] name
|
2817
2852
|
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
2818
|
-
# project_number`/locations/`location`/collections/`collection`/
|
2819
|
-
#
|
2853
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine`/
|
2854
|
+
# servingConfigs/`serving_config_id``
|
2820
2855
|
# @param [String] fields
|
2821
2856
|
# Selector specifying which fields to include in a partial response.
|
2822
2857
|
# @param [String] quota_user
|
@@ -2846,8 +2881,8 @@ module Google
|
|
2846
2881
|
|
2847
2882
|
# Lists all ServingConfigs linked to this dataStore.
|
2848
2883
|
# @param [String] parent
|
2849
|
-
# Required.
|
2850
|
-
# locations/`location`/collections/`collection`/
|
2884
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
2885
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine``
|
2851
2886
|
# @param [Fixnum] page_size
|
2852
2887
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
2853
2888
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -2887,7 +2922,7 @@ module Google
|
|
2887
2922
|
# not exist.
|
2888
2923
|
# @param [String] name
|
2889
2924
|
# Immutable. Fully qualified name `projects/`project`/locations/`location`/
|
2890
|
-
# collections/`collection_id`/
|
2925
|
+
# collections/`collection_id`/engines/`engine_id`/servingConfigs/`
|
2891
2926
|
# serving_config_id``
|
2892
2927
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
|
2893
2928
|
# @param [String] update_mask
|
@@ -3095,7 +3130,7 @@ module Google
|
|
3095
3130
|
# imported search events. * `document-completable` - Using suggestions taken
|
3096
3131
|
# directly from user-imported document fields marked as completable. Default
|
3097
3132
|
# values: * `document` is the default model for regular dataStores. * `search-
|
3098
|
-
# history` is the default model for site search dataStores.
|
3133
|
+
# history` is the default model for site search dataStores.
|
3099
3134
|
# @param [String] user_pseudo_id
|
3100
3135
|
# A unique identifier for tracking visitors. For example, this could be
|
3101
3136
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
@@ -4283,8 +4318,8 @@ module Google
|
|
4283
4318
|
# exist.
|
4284
4319
|
# @param [String] name
|
4285
4320
|
# Required. The resource name of the ServingConfig to get. Format: `projects/`
|
4286
|
-
# project_number`/locations/`location`/collections/`collection`/
|
4287
|
-
#
|
4321
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine`/
|
4322
|
+
# servingConfigs/`serving_config_id``
|
4288
4323
|
# @param [String] fields
|
4289
4324
|
# Selector specifying which fields to include in a partial response.
|
4290
4325
|
# @param [String] quota_user
|
@@ -4314,8 +4349,8 @@ module Google
|
|
4314
4349
|
|
4315
4350
|
# Lists all ServingConfigs linked to this dataStore.
|
4316
4351
|
# @param [String] parent
|
4317
|
-
# Required.
|
4318
|
-
# locations/`location`/collections/`collection`/
|
4352
|
+
# Required. Full resource name of the parent resource. Format: `projects/`
|
4353
|
+
# project_number`/locations/`location`/collections/`collection`/engines/`engine``
|
4319
4354
|
# @param [Fixnum] page_size
|
4320
4355
|
# Optional. Maximum number of results to return. If unspecified, defaults to 100.
|
4321
4356
|
# If a value greater than 100 is provided, at most 100 results are returned.
|
@@ -4355,7 +4390,7 @@ module Google
|
|
4355
4390
|
# not exist.
|
4356
4391
|
# @param [String] name
|
4357
4392
|
# Immutable. Fully qualified name `projects/`project`/locations/`location`/
|
4358
|
-
# collections/`collection_id`/
|
4393
|
+
# collections/`collection_id`/engines/`engine_id`/servingConfigs/`
|
4359
4394
|
# serving_config_id``
|
4360
4395
|
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
|
4361
4396
|
# @param [String] update_mask
|