google-apis-discoveryengine_v1alpha 0.38.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -130,31 +130,37 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class GoogleCloudDiscoveryengineV1DigitalParsingConfig
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 GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
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 GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse
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 GoogleCloudDiscoveryengineV1DocumentProcessingConfig
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 GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
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
 
@@ -364,6 +364,18 @@ module Google
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
+ class GoogleCloudDiscoveryengineV1alphaChunk
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
367
379
  class GoogleCloudDiscoveryengineV1alphaCompleteQueryRequest
368
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
381
 
@@ -490,12 +502,6 @@ module Google
490
502
  include Google::Apis::Core::JsonObjectSupport
491
503
  end
492
504
 
493
- class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
494
- class Representation < Google::Apis::Core::JsonRepresentation; end
495
-
496
- include Google::Apis::Core::JsonObjectSupport
497
- end
498
-
499
505
  class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
500
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
507
 
@@ -550,12 +556,42 @@ module Google
550
556
  include Google::Apis::Core::JsonObjectSupport
551
557
  end
552
558
 
559
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
553
571
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
554
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
573
 
556
574
  include Google::Apis::Core::JsonObjectSupport
557
575
  end
558
576
 
577
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
559
595
  class GoogleCloudDiscoveryengineV1alphaDoubleList
560
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
597
 
@@ -802,7 +838,7 @@ module Google
802
838
  include Google::Apis::Core::JsonObjectSupport
803
839
  end
804
840
 
805
- class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
841
+ class GoogleCloudDiscoveryengineV1alphaListChunksResponse
806
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
843
 
808
844
  include Google::Apis::Core::JsonObjectSupport
@@ -868,18 +904,6 @@ module Google
868
904
  include Google::Apis::Core::JsonObjectSupport
869
905
  end
870
906
 
871
- class GoogleCloudDiscoveryengineV1alphaOcrConfig
872
- class Representation < Google::Apis::Core::JsonRepresentation; end
873
-
874
- include Google::Apis::Core::JsonObjectSupport
875
- end
876
-
877
- class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
878
- class Representation < Google::Apis::Core::JsonRepresentation; end
879
-
880
- include Google::Apis::Core::JsonObjectSupport
881
- end
882
-
883
907
  class GoogleCloudDiscoveryengineV1alphaPageInfo
884
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
909
 
@@ -1096,6 +1120,12 @@ module Google
1096
1120
  include Google::Apis::Core::JsonObjectSupport
1097
1121
  end
1098
1122
 
1123
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1099
1129
  class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec
1100
1130
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1131
 
@@ -1384,6 +1414,24 @@ module Google
1384
1414
  include Google::Apis::Core::JsonObjectSupport
1385
1415
  end
1386
1416
 
1417
+ class GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent
1418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1419
+
1420
+ include Google::Apis::Core::JsonObjectSupport
1421
+ end
1422
+
1423
+ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent
1424
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1425
+
1426
+ include Google::Apis::Core::JsonObjectSupport
1427
+ end
1428
+
1429
+ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig
1430
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1431
+
1432
+ include Google::Apis::Core::JsonObjectSupport
1433
+ end
1434
+
1387
1435
  class GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField
1388
1436
  class Representation < Google::Apis::Core::JsonRepresentation; end
1389
1437
 
@@ -1486,31 +1534,37 @@ module Google
1486
1534
  include Google::Apis::Core::JsonObjectSupport
1487
1535
  end
1488
1536
 
1489
- class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
1537
+ class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
1490
1538
  class Representation < Google::Apis::Core::JsonRepresentation; end
1491
1539
 
1492
1540
  include Google::Apis::Core::JsonObjectSupport
1493
1541
  end
1494
1542
 
1495
- class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
1543
+ class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse
1496
1544
  class Representation < Google::Apis::Core::JsonRepresentation; end
1497
1545
 
1498
1546
  include Google::Apis::Core::JsonObjectSupport
1499
1547
  end
1500
1548
 
1501
- class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse
1549
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
1502
1550
  class Representation < Google::Apis::Core::JsonRepresentation; end
1503
1551
 
1504
1552
  include Google::Apis::Core::JsonObjectSupport
1505
1553
  end
1506
1554
 
1507
- class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
1555
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
1508
1556
  class Representation < Google::Apis::Core::JsonRepresentation; end
1509
1557
 
1510
1558
  include Google::Apis::Core::JsonObjectSupport
1511
1559
  end
1512
1560
 
1513
- class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
1561
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig
1562
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1563
+
1564
+ include Google::Apis::Core::JsonObjectSupport
1565
+ end
1566
+
1567
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
1514
1568
  class Representation < Google::Apis::Core::JsonRepresentation; end
1515
1569
 
1516
1570
  include Google::Apis::Core::JsonObjectSupport
@@ -1606,12 +1660,6 @@ module Google
1606
1660
  include Google::Apis::Core::JsonObjectSupport
1607
1661
  end
1608
1662
 
1609
- class GoogleCloudDiscoveryengineV1betaOcrParsingConfig
1610
- class Representation < Google::Apis::Core::JsonRepresentation; end
1611
-
1612
- include Google::Apis::Core::JsonObjectSupport
1613
- end
1614
-
1615
1663
  class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
1616
1664
  class Representation < Google::Apis::Core::JsonRepresentation; end
1617
1665
 
@@ -1666,6 +1714,18 @@ module Google
1666
1714
  include Google::Apis::Core::JsonObjectSupport
1667
1715
  end
1668
1716
 
1717
+ class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata
1718
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1719
+
1720
+ include Google::Apis::Core::JsonObjectSupport
1721
+ end
1722
+
1723
+ class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse
1724
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1725
+
1726
+ include Google::Apis::Core::JsonObjectSupport
1727
+ end
1728
+
1669
1729
  class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
1670
1730
  class Representation < Google::Apis::Core::JsonRepresentation; end
1671
1731
 
@@ -1873,12 +1933,6 @@ module Google
1873
1933
  end
1874
1934
  end
1875
1935
 
1876
- class GoogleCloudDiscoveryengineV1DigitalParsingConfig
1877
- # @private
1878
- class Representation < Google::Apis::Core::JsonRepresentation
1879
- end
1880
- end
1881
-
1882
1936
  class GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
1883
1937
  # @private
1884
1938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1907,13 +1961,27 @@ module Google
1907
1961
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
1908
1962
  # @private
1909
1963
  class Representation < Google::Apis::Core::JsonRepresentation
1910
- property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DigitalParsingConfig::Representation
1964
+ property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
1911
1965
 
1912
- property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1OcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1OcrParsingConfig::Representation
1966
+ property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
1913
1967
 
1914
1968
  end
1915
1969
  end
1916
1970
 
1971
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig
1972
+ # @private
1973
+ class Representation < Google::Apis::Core::JsonRepresentation
1974
+ end
1975
+ end
1976
+
1977
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
1978
+ # @private
1979
+ class Representation < Google::Apis::Core::JsonRepresentation
1980
+ collection :enhanced_document_elements, as: 'enhancedDocumentElements'
1981
+ property :use_native_text, as: 'useNativeText'
1982
+ end
1983
+ end
1984
+
1917
1985
  class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
1918
1986
  # @private
1919
1987
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2057,14 +2125,6 @@ module Google
2057
2125
  end
2058
2126
  end
2059
2127
 
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
-
2068
2128
  class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
2069
2129
  # @private
2070
2130
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2225,6 +2285,26 @@ module Google
2225
2285
  end
2226
2286
  end
2227
2287
 
2288
+ class GoogleCloudDiscoveryengineV1alphaChunk
2289
+ # @private
2290
+ class Representation < Google::Apis::Core::JsonRepresentation
2291
+ property :content, as: 'content'
2292
+ hash :derived_struct_data, as: 'derivedStructData'
2293
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata::Representation
2294
+
2295
+ property :id, as: 'id'
2296
+ property :name, as: 'name'
2297
+ end
2298
+ end
2299
+
2300
+ class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
2301
+ # @private
2302
+ class Representation < Google::Apis::Core::JsonRepresentation
2303
+ property :title, as: 'title'
2304
+ property :uri, as: 'uri'
2305
+ end
2306
+ end
2307
+
2228
2308
  class GoogleCloudDiscoveryengineV1alphaCompleteQueryRequest
2229
2309
  # @private
2230
2310
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2433,12 +2513,6 @@ module Google
2433
2513
  end
2434
2514
  end
2435
2515
 
2436
- class GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig
2437
- # @private
2438
- class Representation < Google::Apis::Core::JsonRepresentation
2439
- end
2440
- end
2441
-
2442
2516
  class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
2443
2517
  # @private
2444
2518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2516,25 +2590,61 @@ module Google
2516
2590
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
2517
2591
  # @private
2518
2592
  class Representation < Google::Apis::Core::JsonRepresentation
2593
+ property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig::Representation
2594
+
2519
2595
  property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
2520
2596
 
2521
2597
  property :name, as: 'name'
2522
- property :ocr_config, as: 'ocrConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrConfig::Representation
2523
-
2524
2598
  hash :parsing_config_overrides, as: 'parsingConfigOverrides', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig::Representation
2525
2599
 
2526
2600
  end
2527
2601
  end
2528
2602
 
2603
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig
2604
+ # @private
2605
+ class Representation < Google::Apis::Core::JsonRepresentation
2606
+ property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
2607
+
2608
+ end
2609
+ end
2610
+
2611
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
2612
+ # @private
2613
+ class Representation < Google::Apis::Core::JsonRepresentation
2614
+ property :chunk_size, as: 'chunkSize'
2615
+ property :include_ancestor_headings, as: 'includeAncestorHeadings'
2616
+ end
2617
+ end
2618
+
2529
2619
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
2530
2620
  # @private
2531
2621
  class Representation < Google::Apis::Core::JsonRepresentation
2532
- property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDigitalParsingConfig::Representation
2622
+ property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
2623
+
2624
+ property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
2625
+
2626
+ property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
2627
+
2628
+ end
2629
+ end
2533
2630
 
2534
- property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig::Representation
2631
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig
2632
+ # @private
2633
+ class Representation < Google::Apis::Core::JsonRepresentation
2634
+ end
2635
+ end
2535
2636
 
2536
- property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOcrParsingConfig::Representation
2637
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
2638
+ # @private
2639
+ class Representation < Google::Apis::Core::JsonRepresentation
2640
+ end
2641
+ end
2537
2642
 
2643
+ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
2644
+ # @private
2645
+ class Representation < Google::Apis::Core::JsonRepresentation
2646
+ collection :enhanced_document_elements, as: 'enhancedDocumentElements'
2647
+ property :use_native_text, as: 'useNativeText'
2538
2648
  end
2539
2649
  end
2540
2650
 
@@ -2575,7 +2685,6 @@ module Google
2575
2685
  class GoogleCloudDiscoveryengineV1alphaEngine
2576
2686
  # @private
2577
2687
  class Representation < Google::Apis::Core::JsonRepresentation
2578
- property :allow_multiple_data_stores_search_engine, as: 'allowMultipleDataStoresSearchEngine'
2579
2688
  property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
2580
2689
 
2581
2690
  property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
@@ -2928,9 +3037,12 @@ module Google
2928
3037
  end
2929
3038
  end
2930
3039
 
2931
- class GoogleCloudDiscoveryengineV1alphaLayoutParsingConfig
3040
+ class GoogleCloudDiscoveryengineV1alphaListChunksResponse
2932
3041
  # @private
2933
3042
  class Representation < Google::Apis::Core::JsonRepresentation
3043
+ collection :chunks, as: 'chunks', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk::Representation
3044
+
3045
+ property :next_page_token, as: 'nextPageToken'
2934
3046
  end
2935
3047
  end
2936
3048
 
@@ -3021,23 +3133,6 @@ module Google
3021
3133
  end
3022
3134
  end
3023
3135
 
3024
- class GoogleCloudDiscoveryengineV1alphaOcrConfig
3025
- # @private
3026
- class Representation < Google::Apis::Core::JsonRepresentation
3027
- property :enabled, as: 'enabled'
3028
- collection :enhanced_document_elements, as: 'enhancedDocumentElements'
3029
- property :use_native_text, as: 'useNativeText'
3030
- end
3031
- end
3032
-
3033
- class GoogleCloudDiscoveryengineV1alphaOcrParsingConfig
3034
- # @private
3035
- class Representation < Google::Apis::Core::JsonRepresentation
3036
- collection :enhanced_document_elements, as: 'enhancedDocumentElements'
3037
- property :use_native_text, as: 'useNativeText'
3038
- end
3039
- end
3040
-
3041
3136
  class GoogleCloudDiscoveryengineV1alphaPageInfo
3042
3137
  # @private
3043
3138
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3296,6 +3391,8 @@ module Google
3296
3391
 
3297
3392
  property :custom_fine_tuning_spec, as: 'customFineTuningSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec::Representation
3298
3393
 
3394
+ collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec::Representation
3395
+
3299
3396
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec::Representation
3300
3397
 
3301
3398
  collection :facet_specs, as: 'facetSpecs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec::Representation
@@ -3344,6 +3441,7 @@ module Google
3344
3441
  class Representation < Google::Apis::Core::JsonRepresentation
3345
3442
  property :extractive_content_spec, as: 'extractiveContentSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec::Representation
3346
3443
 
3444
+ property :search_result_mode, as: 'searchResultMode'
3347
3445
  property :snippet_spec, as: 'snippetSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec::Representation
3348
3446
 
3349
3447
  property :summary_spec, as: 'summarySpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec::Representation
@@ -3358,6 +3456,7 @@ module Google
3358
3456
  property :max_extractive_segment_count, as: 'maxExtractiveSegmentCount'
3359
3457
  property :num_next_segments, as: 'numNextSegments'
3360
3458
  property :num_previous_segments, as: 'numPreviousSegments'
3459
+ property :return_extractive_segment_score, as: 'returnExtractiveSegmentScore'
3361
3460
  end
3362
3461
  end
3363
3462
 
@@ -3399,6 +3498,13 @@ module Google
3399
3498
  end
3400
3499
  end
3401
3500
 
3501
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
3502
+ # @private
3503
+ class Representation < Google::Apis::Core::JsonRepresentation
3504
+ property :data_store, as: 'dataStore'
3505
+ end
3506
+ end
3507
+
3402
3508
  class GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec
3403
3509
  # @private
3404
3510
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3542,6 +3648,8 @@ module Google
3542
3648
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult
3543
3649
  # @private
3544
3650
  class Representation < Google::Apis::Core::JsonRepresentation
3651
+ property :chunk, as: 'chunk', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk::Representation
3652
+
3545
3653
  property :document, as: 'document', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
3546
3654
 
3547
3655
  property :id, as: 'id'
@@ -3659,7 +3767,6 @@ module Google
3659
3767
  # @private
3660
3768
  class Representation < Google::Apis::Core::JsonRepresentation
3661
3769
  property :content_freshness_cutoff_days, as: 'contentFreshnessCutoffDays'
3662
- property :content_watched_minutes_threshold, as: 'contentWatchedMinutesThreshold'
3663
3770
  property :content_watched_percentage_threshold, as: 'contentWatchedPercentageThreshold'
3664
3771
  property :content_watched_seconds_threshold, as: 'contentWatchedSecondsThreshold'
3665
3772
  property :demotion_event_type, as: 'demotionEventType'
@@ -3890,11 +3997,15 @@ module Google
3890
3997
  class Representation < Google::Apis::Core::JsonRepresentation
3891
3998
  property :allow_public_access, as: 'allowPublicAccess'
3892
3999
  collection :allowlisted_domains, as: 'allowlistedDomains'
4000
+ collection :collection_components, as: 'collectionComponents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent::Representation
4001
+
3893
4002
  property :config_id, as: 'configId'
3894
4003
  property :content_search_spec, as: 'contentSearchSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec::Representation
3895
4004
 
3896
4005
  property :create_time, as: 'createTime'
3897
4006
  property :data_store_type, as: 'dataStoreType'
4007
+ collection :data_store_ui_configs, as: 'dataStoreUiConfigs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig::Representation
4008
+
3898
4009
  property :display_name, as: 'displayName'
3899
4010
  property :enable_autocomplete, as: 'enableAutocomplete'
3900
4011
  property :enable_conversational_search, as: 'enableConversationalSearch'
@@ -3918,6 +4029,38 @@ module Google
3918
4029
  end
3919
4030
  end
3920
4031
 
4032
+ class GoogleCloudDiscoveryengineV1alphaWidgetConfigCollectionComponent
4033
+ # @private
4034
+ class Representation < Google::Apis::Core::JsonRepresentation
4035
+ collection :data_store_components, as: 'dataStoreComponents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent::Representation
4036
+
4037
+ property :display_name, as: 'displayName'
4038
+ property :id, as: 'id'
4039
+ property :name, as: 'name'
4040
+ end
4041
+ end
4042
+
4043
+ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreComponent
4044
+ # @private
4045
+ class Representation < Google::Apis::Core::JsonRepresentation
4046
+ property :display_name, as: 'displayName'
4047
+ property :id, as: 'id'
4048
+ property :name, as: 'name'
4049
+ end
4050
+ end
4051
+
4052
+ class GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig
4053
+ # @private
4054
+ class Representation < Google::Apis::Core::JsonRepresentation
4055
+ collection :facet_field, as: 'facetField', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField::Representation
4056
+
4057
+ hash :fields_ui_components_map, as: 'fieldsUiComponentsMap', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiComponentField, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiComponentField::Representation
4058
+
4059
+ property :id, as: 'id'
4060
+ property :name, as: 'name'
4061
+ end
4062
+ end
4063
+
3921
4064
  class GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField
3922
4065
  # @private
3923
4066
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4074,12 +4217,6 @@ module Google
4074
4217
  end
4075
4218
  end
4076
4219
 
4077
- class GoogleCloudDiscoveryengineV1betaDigitalParsingConfig
4078
- # @private
4079
- class Representation < Google::Apis::Core::JsonRepresentation
4080
- end
4081
- end
4082
-
4083
4220
  class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
4084
4221
  # @private
4085
4222
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4108,13 +4245,27 @@ module Google
4108
4245
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
4109
4246
  # @private
4110
4247
  class Representation < Google::Apis::Core::JsonRepresentation
4111
- property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDigitalParsingConfig::Representation
4248
+ property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
4112
4249
 
4113
- property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaOcrParsingConfig::Representation
4250
+ property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
4114
4251
 
4115
4252
  end
4116
4253
  end
4117
4254
 
4255
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig
4256
+ # @private
4257
+ class Representation < Google::Apis::Core::JsonRepresentation
4258
+ end
4259
+ end
4260
+
4261
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
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
+
4118
4269
  class GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata
4119
4270
  # @private
4120
4271
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4258,14 +4409,6 @@ module Google
4258
4409
  end
4259
4410
  end
4260
4411
 
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
-
4269
4412
  class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
4270
4413
  # @private
4271
4414
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4351,6 +4494,25 @@ module Google
4351
4494
  end
4352
4495
  end
4353
4496
 
4497
+ class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata
4498
+ # @private
4499
+ class Representation < Google::Apis::Core::JsonRepresentation
4500
+ property :create_time, as: 'createTime'
4501
+ property :update_time, as: 'updateTime'
4502
+ end
4503
+ end
4504
+
4505
+ class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse
4506
+ # @private
4507
+ class Representation < Google::Apis::Core::JsonRepresentation
4508
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
4509
+
4510
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
4511
+
4512
+ property :model_status, as: 'modelStatus'
4513
+ end
4514
+ end
4515
+
4354
4516
  class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
4355
4517
  # @private
4356
4518
  class Representation < Google::Apis::Core::JsonRepresentation