google-apis-discoveryengine_v1alpha 0.36.0 → 0.38.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/OVERVIEW.md +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +515 -3
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +247 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +79 -2
- metadata +7 -7
@@ -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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240227"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class GoogleCloudDiscoveryengineV1DigitalParsingConfig
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -142,6 +148,18 @@ module Google
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
143
149
|
end
|
144
150
|
|
151
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
145
163
|
class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
165
|
|
@@ -232,6 +250,12 @@ module Google
|
|
232
250
|
include Google::Apis::Core::JsonObjectSupport
|
233
251
|
end
|
234
252
|
|
253
|
+
class GoogleCloudDiscoveryengineV1OcrParsingConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
235
259
|
class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
|
236
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
261
|
|
@@ -298,6 +322,12 @@ module Google
|
|
298
322
|
include Google::Apis::Core::JsonObjectSupport
|
299
323
|
end
|
300
324
|
|
325
|
+
class GoogleCloudDiscoveryengineV1alphaAclConfig
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
301
331
|
class GoogleCloudDiscoveryengineV1alphaAdditionalParams
|
302
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
333
|
|
@@ -490,6 +520,18 @@ module Google
|
|
490
520
|
include Google::Apis::Core::JsonObjectSupport
|
491
521
|
end
|
492
522
|
|
523
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentAclInfo
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
529
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
493
535
|
class GoogleCloudDiscoveryengineV1alphaDocumentContent
|
494
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
537
|
|
@@ -664,6 +706,18 @@ module Google
|
|
664
706
|
include Google::Apis::Core::JsonObjectSupport
|
665
707
|
end
|
666
708
|
|
709
|
+
class GoogleCloudDiscoveryengineV1alphaIdpConfig
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
715
|
+
class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
|
+
|
718
|
+
include Google::Apis::Core::JsonObjectSupport
|
719
|
+
end
|
720
|
+
|
667
721
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
668
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
723
|
|
@@ -844,6 +898,12 @@ module Google
|
|
844
898
|
include Google::Apis::Core::JsonObjectSupport
|
845
899
|
end
|
846
900
|
|
901
|
+
class GoogleCloudDiscoveryengineV1alphaPrincipal
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
905
|
+
end
|
906
|
+
|
847
907
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
848
908
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
909
|
|
@@ -862,6 +922,12 @@ module Google
|
|
862
922
|
include Google::Apis::Core::JsonObjectSupport
|
863
923
|
end
|
864
924
|
|
925
|
+
class GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
|
+
|
928
|
+
include Google::Apis::Core::JsonObjectSupport
|
929
|
+
end
|
930
|
+
|
865
931
|
class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata
|
866
932
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
933
|
|
@@ -1420,6 +1486,12 @@ module Google
|
|
1420
1486
|
include Google::Apis::Core::JsonObjectSupport
|
1421
1487
|
end
|
1422
1488
|
|
1489
|
+
class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
|
1490
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1491
|
+
|
1492
|
+
include Google::Apis::Core::JsonObjectSupport
|
1493
|
+
end
|
1494
|
+
|
1423
1495
|
class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
|
1424
1496
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1425
1497
|
|
@@ -1432,6 +1504,18 @@ module Google
|
|
1432
1504
|
include Google::Apis::Core::JsonObjectSupport
|
1433
1505
|
end
|
1434
1506
|
|
1507
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
|
+
|
1510
|
+
include Google::Apis::Core::JsonObjectSupport
|
1511
|
+
end
|
1512
|
+
|
1513
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
|
1514
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1515
|
+
|
1516
|
+
include Google::Apis::Core::JsonObjectSupport
|
1517
|
+
end
|
1518
|
+
|
1435
1519
|
class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata
|
1436
1520
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1437
1521
|
|
@@ -1522,6 +1606,12 @@ module Google
|
|
1522
1606
|
include Google::Apis::Core::JsonObjectSupport
|
1523
1607
|
end
|
1524
1608
|
|
1609
|
+
class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1611
|
+
|
1612
|
+
include Google::Apis::Core::JsonObjectSupport
|
1613
|
+
end
|
1614
|
+
|
1525
1615
|
class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
|
1526
1616
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1527
1617
|
|
@@ -1741,9 +1831,13 @@ module Google
|
|
1741
1831
|
property :create_time, as: 'createTime'
|
1742
1832
|
property :default_schema_id, as: 'defaultSchemaId'
|
1743
1833
|
property :display_name, as: 'displayName'
|
1834
|
+
property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfig::Representation
|
1835
|
+
|
1744
1836
|
property :industry_vertical, as: 'industryVertical'
|
1745
1837
|
property :name, as: 'name'
|
1746
1838
|
collection :solution_types, as: 'solutionTypes'
|
1839
|
+
property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1Schema, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1Schema::Representation
|
1840
|
+
|
1747
1841
|
end
|
1748
1842
|
end
|
1749
1843
|
|
@@ -1779,6 +1873,12 @@ module Google
|
|
1779
1873
|
end
|
1780
1874
|
end
|
1781
1875
|
|
1876
|
+
class GoogleCloudDiscoveryengineV1DigitalParsingConfig
|
1877
|
+
# @private
|
1878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1879
|
+
end
|
1880
|
+
end
|
1881
|
+
|
1782
1882
|
class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
|
1783
1883
|
# @private
|
1784
1884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1793,6 +1893,27 @@ module Google
|
|
1793
1893
|
end
|
1794
1894
|
end
|
1795
1895
|
|
1896
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
|
1897
|
+
# @private
|
1898
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1899
|
+
property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
|
1900
|
+
|
1901
|
+
property :name, as: 'name'
|
1902
|
+
hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
|
1903
|
+
|
1904
|
+
end
|
1905
|
+
end
|
1906
|
+
|
1907
|
+
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
|
1908
|
+
# @private
|
1909
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1910
|
+
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DigitalParsingConfig::Representation
|
1911
|
+
|
1912
|
+
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1OcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1OcrParsingConfig::Representation
|
1913
|
+
|
1914
|
+
end
|
1915
|
+
end
|
1916
|
+
|
1796
1917
|
class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
|
1797
1918
|
# @private
|
1798
1919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1936,11 +2057,20 @@ module Google
|
|
1936
2057
|
end
|
1937
2058
|
end
|
1938
2059
|
|
2060
|
+
class GoogleCloudDiscoveryengineV1OcrParsingConfig
|
2061
|
+
# @private
|
2062
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2063
|
+
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
2064
|
+
property :use_native_text, as: 'useNativeText'
|
2065
|
+
end
|
2066
|
+
end
|
2067
|
+
|
1939
2068
|
class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
|
1940
2069
|
# @private
|
1941
2070
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1942
2071
|
property :create_time, as: 'createTime'
|
1943
2072
|
property :failure_count, :numeric_string => true, as: 'failureCount'
|
2073
|
+
property :ignored_count, :numeric_string => true, as: 'ignoredCount'
|
1944
2074
|
property :success_count, :numeric_string => true, as: 'successCount'
|
1945
2075
|
property :update_time, as: 'updateTime'
|
1946
2076
|
end
|
@@ -2036,6 +2166,15 @@ module Google
|
|
2036
2166
|
end
|
2037
2167
|
end
|
2038
2168
|
|
2169
|
+
class GoogleCloudDiscoveryengineV1alphaAclConfig
|
2170
|
+
# @private
|
2171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2172
|
+
property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
|
2173
|
+
|
2174
|
+
property :name, as: 'name'
|
2175
|
+
end
|
2176
|
+
end
|
2177
|
+
|
2039
2178
|
class GoogleCloudDiscoveryengineV1alphaAdditionalParams
|
2040
2179
|
# @private
|
2041
2180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2157,6 +2296,8 @@ module Google
|
|
2157
2296
|
class GoogleCloudDiscoveryengineV1alphaConverseConversationRequest
|
2158
2297
|
# @private
|
2159
2298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2299
|
+
property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
|
2300
|
+
|
2160
2301
|
property :conversation, as: 'conversation', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation::Representation
|
2161
2302
|
|
2162
2303
|
property :filter, as: 'filter'
|
@@ -2243,13 +2384,20 @@ module Google
|
|
2243
2384
|
class GoogleCloudDiscoveryengineV1alphaDataStore
|
2244
2385
|
# @private
|
2245
2386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2387
|
+
property :acl_enabled, as: 'aclEnabled'
|
2246
2388
|
property :content_config, as: 'contentConfig'
|
2247
2389
|
property :create_time, as: 'createTime'
|
2248
2390
|
property :default_schema_id, as: 'defaultSchemaId'
|
2249
2391
|
property :display_name, as: 'displayName'
|
2392
|
+
property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig::Representation
|
2393
|
+
|
2394
|
+
property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
|
2395
|
+
|
2250
2396
|
property :industry_vertical, as: 'industryVertical'
|
2251
2397
|
property :name, as: 'name'
|
2252
2398
|
collection :solution_types, as: 'solutionTypes'
|
2399
|
+
property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema::Representation
|
2400
|
+
|
2253
2401
|
end
|
2254
2402
|
end
|
2255
2403
|
|
@@ -2314,10 +2462,13 @@ module Google
|
|
2314
2462
|
class GoogleCloudDiscoveryengineV1alphaDocument
|
2315
2463
|
# @private
|
2316
2464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2465
|
+
property :acl_info, as: 'aclInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentAclInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentAclInfo::Representation
|
2466
|
+
|
2317
2467
|
property :content, as: 'content', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentContent::Representation
|
2318
2468
|
|
2319
2469
|
hash :derived_struct_data, as: 'derivedStructData'
|
2320
2470
|
property :id, as: 'id'
|
2471
|
+
property :index_time, as: 'indexTime'
|
2321
2472
|
property :json_data, as: 'jsonData'
|
2322
2473
|
property :name, as: 'name'
|
2323
2474
|
property :parent_document_id, as: 'parentDocumentId'
|
@@ -2326,6 +2477,22 @@ module Google
|
|
2326
2477
|
end
|
2327
2478
|
end
|
2328
2479
|
|
2480
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentAclInfo
|
2481
|
+
# @private
|
2482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2483
|
+
collection :readers, as: 'readers', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction::Representation
|
2484
|
+
|
2485
|
+
end
|
2486
|
+
end
|
2487
|
+
|
2488
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction
|
2489
|
+
# @private
|
2490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2491
|
+
collection :principals, as: 'principals', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPrincipal, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPrincipal::Representation
|
2492
|
+
|
2493
|
+
end
|
2494
|
+
end
|
2495
|
+
|
2329
2496
|
class GoogleCloudDiscoveryengineV1alphaDocumentContent
|
2330
2497
|
# @private
|
2331
2498
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2408,6 +2575,7 @@ module Google
|
|
2408
2575
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
2409
2576
|
# @private
|
2410
2577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2578
|
+
property :allow_multiple_data_stores_search_engine, as: 'allowMultipleDataStoresSearchEngine'
|
2411
2579
|
property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
|
2412
2580
|
|
2413
2581
|
property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
|
@@ -2602,6 +2770,22 @@ module Google
|
|
2602
2770
|
end
|
2603
2771
|
end
|
2604
2772
|
|
2773
|
+
class GoogleCloudDiscoveryengineV1alphaIdpConfig
|
2774
|
+
# @private
|
2775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2776
|
+
property :external_idp_config, as: 'externalIdpConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig::Representation
|
2777
|
+
|
2778
|
+
property :idp_type, as: 'idpType'
|
2779
|
+
end
|
2780
|
+
end
|
2781
|
+
|
2782
|
+
class GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
|
2783
|
+
# @private
|
2784
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2785
|
+
property :workforce_pool_name, as: 'workforcePoolName'
|
2786
|
+
end
|
2787
|
+
end
|
2788
|
+
|
2605
2789
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
2606
2790
|
# @private
|
2607
2791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2880,11 +3064,20 @@ module Google
|
|
2880
3064
|
end
|
2881
3065
|
end
|
2882
3066
|
|
3067
|
+
class GoogleCloudDiscoveryengineV1alphaPrincipal
|
3068
|
+
# @private
|
3069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3070
|
+
property :group_id, as: 'groupId'
|
3071
|
+
property :user_id, as: 'userId'
|
3072
|
+
end
|
3073
|
+
end
|
3074
|
+
|
2883
3075
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
|
2884
3076
|
# @private
|
2885
3077
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2886
3078
|
property :create_time, as: 'createTime'
|
2887
3079
|
property :failure_count, :numeric_string => true, as: 'failureCount'
|
3080
|
+
property :ignored_count, :numeric_string => true, as: 'ignoredCount'
|
2888
3081
|
property :success_count, :numeric_string => true, as: 'successCount'
|
2889
3082
|
property :update_time, as: 'updateTime'
|
2890
3083
|
end
|
@@ -2893,8 +3086,12 @@ module Google
|
|
2893
3086
|
class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequest
|
2894
3087
|
# @private
|
2895
3088
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3089
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig::Representation
|
3090
|
+
|
2896
3091
|
property :filter, as: 'filter'
|
2897
3092
|
property :force, as: 'force'
|
3093
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource::Representation
|
3094
|
+
|
2898
3095
|
end
|
2899
3096
|
end
|
2900
3097
|
|
@@ -2906,6 +3103,13 @@ module Google
|
|
2906
3103
|
end
|
2907
3104
|
end
|
2908
3105
|
|
3106
|
+
class GoogleCloudDiscoveryengineV1alphaPurgeErrorConfig
|
3107
|
+
# @private
|
3108
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3109
|
+
property :gcs_prefix, as: 'gcsPrefix'
|
3110
|
+
end
|
3111
|
+
end
|
3112
|
+
|
2909
3113
|
class GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata
|
2910
3114
|
# @private
|
2911
3115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3090,6 +3294,8 @@ module Google
|
|
3090
3294
|
property :canonical_filter, as: 'canonicalFilter'
|
3091
3295
|
property :content_search_spec, as: 'contentSearchSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec::Representation
|
3092
3296
|
|
3297
|
+
property :custom_fine_tuning_spec, as: 'customFineTuningSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec::Representation
|
3298
|
+
|
3093
3299
|
property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec::Representation
|
3094
3300
|
|
3095
3301
|
collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec::Representation
|
@@ -3697,6 +3903,7 @@ module Google
|
|
3697
3903
|
property :enable_safe_search, as: 'enableSafeSearch'
|
3698
3904
|
property :enable_snippet_result_summary, as: 'enableSnippetResultSummary'
|
3699
3905
|
property :enable_summarization, as: 'enableSummarization'
|
3906
|
+
property :enable_web_app, as: 'enableWebApp'
|
3700
3907
|
collection :facet_field, as: 'facetField', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField::Representation
|
3701
3908
|
|
3702
3909
|
hash :fields_ui_components_map, as: 'fieldsUiComponentsMap', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiComponentField, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiComponentField::Representation
|
@@ -3825,9 +4032,13 @@ module Google
|
|
3825
4032
|
property :create_time, as: 'createTime'
|
3826
4033
|
property :default_schema_id, as: 'defaultSchemaId'
|
3827
4034
|
property :display_name, as: 'displayName'
|
4035
|
+
property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
|
4036
|
+
|
3828
4037
|
property :industry_vertical, as: 'industryVertical'
|
3829
4038
|
property :name, as: 'name'
|
3830
4039
|
collection :solution_types, as: 'solutionTypes'
|
4040
|
+
property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSchema::Representation
|
4041
|
+
|
3831
4042
|
end
|
3832
4043
|
end
|
3833
4044
|
|
@@ -3863,6 +4074,12 @@ module Google
|
|
3863
4074
|
end
|
3864
4075
|
end
|
3865
4076
|
|
4077
|
+
class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
|
4078
|
+
# @private
|
4079
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4080
|
+
end
|
4081
|
+
end
|
4082
|
+
|
3866
4083
|
class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
|
3867
4084
|
# @private
|
3868
4085
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3877,6 +4094,27 @@ module Google
|
|
3877
4094
|
end
|
3878
4095
|
end
|
3879
4096
|
|
4097
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
|
4098
|
+
# @private
|
4099
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4100
|
+
property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
|
4101
|
+
|
4102
|
+
property :name, as: 'name'
|
4103
|
+
hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
|
4104
|
+
|
4105
|
+
end
|
4106
|
+
end
|
4107
|
+
|
4108
|
+
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
|
4109
|
+
# @private
|
4110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4111
|
+
property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig::Representation
|
4112
|
+
|
4113
|
+
property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaOcrParsingConfig::Representation
|
4114
|
+
|
4115
|
+
end
|
4116
|
+
end
|
4117
|
+
|
3880
4118
|
class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata
|
3881
4119
|
# @private
|
3882
4120
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4020,11 +4258,20 @@ module Google
|
|
4020
4258
|
end
|
4021
4259
|
end
|
4022
4260
|
|
4261
|
+
class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
|
4262
|
+
# @private
|
4263
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4264
|
+
collection :enhanced_document_elements, as: 'enhancedDocumentElements'
|
4265
|
+
property :use_native_text, as: 'useNativeText'
|
4266
|
+
end
|
4267
|
+
end
|
4268
|
+
|
4023
4269
|
class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
|
4024
4270
|
# @private
|
4025
4271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4026
4272
|
property :create_time, as: 'createTime'
|
4027
4273
|
property :failure_count, :numeric_string => true, as: 'failureCount'
|
4274
|
+
property :ignored_count, :numeric_string => true, as: 'ignoredCount'
|
4028
4275
|
property :success_count, :numeric_string => true, as: 'successCount'
|
4029
4276
|
property :update_time, as: 'updateTime'
|
4030
4277
|
end
|
@@ -226,6 +226,75 @@ module Google
|
|
226
226
|
execute_or_queue_command(command, &block)
|
227
227
|
end
|
228
228
|
|
229
|
+
# Gets the AclConfig.
|
230
|
+
# @param [String] name
|
231
|
+
# Required. Resource name of AclConfig, such as `projects/*/locations/*/
|
232
|
+
# aclConfig`. If the caller does not have permission to access the AclConfig,
|
233
|
+
# regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
|
234
|
+
# @param [String] fields
|
235
|
+
# Selector specifying which fields to include in a partial response.
|
236
|
+
# @param [String] quota_user
|
237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
239
|
+
# @param [Google::Apis::RequestOptions] options
|
240
|
+
# Request-specific options
|
241
|
+
#
|
242
|
+
# @yield [result, err] Result & error if block supplied
|
243
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig] parsed result object
|
244
|
+
# @yieldparam err [StandardError] error object if request failed
|
245
|
+
#
|
246
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig]
|
247
|
+
#
|
248
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
249
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
250
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
251
|
+
def get_project_location_acl_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
252
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
253
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig::Representation
|
254
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig
|
255
|
+
command.params['name'] = name unless name.nil?
|
256
|
+
command.query['fields'] = fields unless fields.nil?
|
257
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
258
|
+
execute_or_queue_command(command, &block)
|
259
|
+
end
|
260
|
+
|
261
|
+
# Default Acl Configuration for use in a location of a customer's project.
|
262
|
+
# Updates will only reflect to new data stores. Existing data stores will still
|
263
|
+
# use the old value.
|
264
|
+
# @param [String] name
|
265
|
+
# Immutable. The full resource name of the acl configuration. Format: `projects/`
|
266
|
+
# project`/locations/`location`/aclConfig`. This field must be a UTF-8 encoded
|
267
|
+
# string with a length limit of 1024 characters.
|
268
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig] google_cloud_discoveryengine_v1alpha_acl_config_object
|
269
|
+
# @param [String] fields
|
270
|
+
# Selector specifying which fields to include in a partial response.
|
271
|
+
# @param [String] quota_user
|
272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
274
|
+
# @param [Google::Apis::RequestOptions] options
|
275
|
+
# Request-specific options
|
276
|
+
#
|
277
|
+
# @yield [result, err] Result & error if block supplied
|
278
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig] parsed result object
|
279
|
+
# @yieldparam err [StandardError] error object if request failed
|
280
|
+
#
|
281
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig]
|
282
|
+
#
|
283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
286
|
+
def update_project_location_acl_config(name, google_cloud_discoveryengine_v1alpha_acl_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
287
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
288
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig::Representation
|
289
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_acl_config_object
|
290
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig::Representation
|
291
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAclConfig
|
292
|
+
command.params['name'] = name unless name.nil?
|
293
|
+
command.query['fields'] = fields unless fields.nil?
|
294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
295
|
+
execute_or_queue_command(command, &block)
|
296
|
+
end
|
297
|
+
|
229
298
|
# Gets the latest state of a long-running operation. Clients can use this method
|
230
299
|
# to poll the operation result at intervals as recommended by the API service.
|
231
300
|
# @param [String] name
|
@@ -914,6 +983,9 @@ module Google
|
|
914
983
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
915
984
|
# @param [Boolean] allow_missing
|
916
985
|
# If set to true, and the Document is not found, a new Document will be created.
|
986
|
+
# @param [String] update_mask
|
987
|
+
# Indicates which fields in the provided imported 'document' to update. If not
|
988
|
+
# set, will by default update all fields.
|
917
989
|
# @param [String] fields
|
918
990
|
# Selector specifying which fields to include in a partial response.
|
919
991
|
# @param [String] quota_user
|
@@ -931,7 +1003,7 @@ module Google
|
|
931
1003
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
932
1004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
933
1005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
934
|
-
def patch_project_location_collection_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1006
|
+
def patch_project_location_collection_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
935
1007
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
936
1008
|
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
|
937
1009
|
command.request_object = google_cloud_discoveryengine_v1alpha_document_object
|
@@ -939,6 +1011,7 @@ module Google
|
|
939
1011
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
|
940
1012
|
command.params['name'] = name unless name.nil?
|
941
1013
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
1014
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
942
1015
|
command.query['fields'] = fields unless fields.nil?
|
943
1016
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
944
1017
|
execute_or_queue_command(command, &block)
|
@@ -4082,6 +4155,9 @@ module Google
|
|
4082
4155
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument] google_cloud_discoveryengine_v1alpha_document_object
|
4083
4156
|
# @param [Boolean] allow_missing
|
4084
4157
|
# If set to true, and the Document is not found, a new Document will be created.
|
4158
|
+
# @param [String] update_mask
|
4159
|
+
# Indicates which fields in the provided imported 'document' to update. If not
|
4160
|
+
# set, will by default update all fields.
|
4085
4161
|
# @param [String] fields
|
4086
4162
|
# Selector specifying which fields to include in a partial response.
|
4087
4163
|
# @param [String] quota_user
|
@@ -4099,7 +4175,7 @@ module Google
|
|
4099
4175
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4100
4176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4101
4177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4102
|
-
def patch_project_location_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4178
|
+
def patch_project_location_data_store_branch_document(name, google_cloud_discoveryengine_v1alpha_document_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4103
4179
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
4104
4180
|
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
|
4105
4181
|
command.request_object = google_cloud_discoveryengine_v1alpha_document_object
|
@@ -4107,6 +4183,7 @@ module Google
|
|
4107
4183
|
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
|
4108
4184
|
command.params['name'] = name unless name.nil?
|
4109
4185
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
4186
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4110
4187
|
command.query['fields'] = fields unless fields.nil?
|
4111
4188
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4112
4189
|
execute_or_queue_command(command, &block)
|