google-apis-discoveryengine_v1beta 0.46.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240526"
25
+ REVISION = "20240612"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,18 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -208,6 +220,12 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
211
229
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
212
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
231
 
@@ -814,6 +832,12 @@ module Google
814
832
  include Google::Apis::Core::JsonObjectSupport
815
833
  end
816
834
 
835
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
817
841
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
818
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
843
 
@@ -982,6 +1006,12 @@ module Google
982
1006
  include Google::Apis::Core::JsonObjectSupport
983
1007
  end
984
1008
 
1009
+ class GoogleCloudDiscoveryengineV1betaAlloyDbSource
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
985
1015
  class GoogleCloudDiscoveryengineV1betaAnswer
986
1016
  class Representation < Google::Apis::Core::JsonRepresentation; end
987
1017
 
@@ -1276,6 +1306,30 @@ module Google
1276
1306
  include Google::Apis::Core::JsonObjectSupport
1277
1307
  end
1278
1308
 
1309
+ class GoogleCloudDiscoveryengineV1betaChunk
1310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1311
+
1312
+ include Google::Apis::Core::JsonObjectSupport
1313
+ end
1314
+
1315
+ class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
1316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1317
+
1318
+ include Google::Apis::Core::JsonObjectSupport
1319
+ end
1320
+
1321
+ class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1327
+ class GoogleCloudDiscoveryengineV1betaChunkPageSpan
1328
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1329
+
1330
+ include Google::Apis::Core::JsonObjectSupport
1331
+ end
1332
+
1279
1333
  class GoogleCloudDiscoveryengineV1betaCloudSqlSource
1280
1334
  class Representation < Google::Apis::Core::JsonRepresentation; end
1281
1335
 
@@ -1492,6 +1546,18 @@ module Google
1492
1546
  include Google::Apis::Core::JsonObjectSupport
1493
1547
  end
1494
1548
 
1549
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
1550
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1551
+
1552
+ include Google::Apis::Core::JsonObjectSupport
1553
+ end
1554
+
1555
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
1556
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1557
+
1558
+ include Google::Apis::Core::JsonObjectSupport
1559
+ end
1560
+
1495
1561
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
1496
1562
  class Representation < Google::Apis::Core::JsonRepresentation; end
1497
1563
 
@@ -1504,6 +1570,12 @@ module Google
1504
1570
  include Google::Apis::Core::JsonObjectSupport
1505
1571
  end
1506
1572
 
1573
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
1574
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1575
+
1576
+ include Google::Apis::Core::JsonObjectSupport
1577
+ end
1578
+
1507
1579
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
1508
1580
  class Representation < Google::Apis::Core::JsonRepresentation; end
1509
1581
 
@@ -1696,6 +1768,12 @@ module Google
1696
1768
  include Google::Apis::Core::JsonObjectSupport
1697
1769
  end
1698
1770
 
1771
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
1772
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1773
+
1774
+ include Google::Apis::Core::JsonObjectSupport
1775
+ end
1776
+
1699
1777
  class GoogleCloudDiscoveryengineV1betaListControlsResponse
1700
1778
  class Representation < Google::Apis::Core::JsonRepresentation; end
1701
1779
 
@@ -1954,6 +2032,12 @@ module Google
1954
2032
  include Google::Apis::Core::JsonObjectSupport
1955
2033
  end
1956
2034
 
2035
+ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec
2036
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2037
+
2038
+ include Google::Apis::Core::JsonObjectSupport
2039
+ end
2040
+
1957
2041
  class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec
1958
2042
  class Representation < Google::Apis::Core::JsonRepresentation; end
1959
2043
 
@@ -2574,6 +2658,8 @@ module Google
2574
2658
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
2575
2659
  # @private
2576
2660
  class Representation < Google::Apis::Core::JsonRepresentation
2661
+ property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig::Representation
2662
+
2577
2663
  property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig::Representation
2578
2664
 
2579
2665
  property :name, as: 'name'
@@ -2582,11 +2668,29 @@ module Google
2582
2668
  end
2583
2669
  end
2584
2670
 
2671
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
2672
+ # @private
2673
+ class Representation < Google::Apis::Core::JsonRepresentation
2674
+ property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
2675
+
2676
+ end
2677
+ end
2678
+
2679
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
2680
+ # @private
2681
+ class Representation < Google::Apis::Core::JsonRepresentation
2682
+ property :chunk_size, as: 'chunkSize'
2683
+ property :include_ancestor_headings, as: 'includeAncestorHeadings'
2684
+ end
2685
+ end
2686
+
2585
2687
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
2586
2688
  # @private
2587
2689
  class Representation < Google::Apis::Core::JsonRepresentation
2588
2690
  property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
2589
2691
 
2692
+ property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
2693
+
2590
2694
  property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
2591
2695
 
2592
2696
  end
@@ -2598,6 +2702,12 @@ module Google
2598
2702
  end
2599
2703
  end
2600
2704
 
2705
+ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
2706
+ # @private
2707
+ class Representation < Google::Apis::Core::JsonRepresentation
2708
+ end
2709
+ end
2710
+
2601
2711
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
2602
2712
  # @private
2603
2713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3212,6 +3322,8 @@ module Google
3212
3322
  property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
3213
3323
 
3214
3324
  property :industry_vertical, as: 'industryVertical'
3325
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLanguageInfo::Representation
3326
+
3215
3327
  property :name, as: 'name'
3216
3328
  collection :solution_types, as: 'solutionTypes'
3217
3329
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema::Representation
@@ -3559,6 +3671,16 @@ module Google
3559
3671
  end
3560
3672
  end
3561
3673
 
3674
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
3675
+ # @private
3676
+ class Representation < Google::Apis::Core::JsonRepresentation
3677
+ property :language, as: 'language'
3678
+ property :language_code, as: 'languageCode'
3679
+ property :normalized_language_code, as: 'normalizedLanguageCode'
3680
+ property :region, as: 'region'
3681
+ end
3682
+ end
3683
+
3562
3684
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
3563
3685
  # @private
3564
3686
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3819,6 +3941,18 @@ module Google
3819
3941
  end
3820
3942
  end
3821
3943
 
3944
+ class GoogleCloudDiscoveryengineV1betaAlloyDbSource
3945
+ # @private
3946
+ class Representation < Google::Apis::Core::JsonRepresentation
3947
+ property :cluster_id, as: 'clusterId'
3948
+ property :database_id, as: 'databaseId'
3949
+ property :gcs_staging_dir, as: 'gcsStagingDir'
3950
+ property :location_id, as: 'locationId'
3951
+ property :project_id, as: 'projectId'
3952
+ property :table_id, as: 'tableId'
3953
+ end
3954
+ end
3955
+
3822
3956
  class GoogleCloudDiscoveryengineV1betaAnswer
3823
3957
  # @private
3824
3958
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3874,6 +4008,7 @@ module Google
3874
4008
  property :search_spec, as: 'searchSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec::Representation
3875
4009
 
3876
4010
  property :session, as: 'session'
4011
+ hash :user_labels, as: 'userLabels'
3877
4012
  property :user_pseudo_id, as: 'userPseudoId'
3878
4013
  end
3879
4014
  end
@@ -3966,6 +4101,7 @@ module Google
3966
4101
  property :filter, as: 'filter'
3967
4102
  property :max_return_results, as: 'maxReturnResults'
3968
4103
  property :order_by, as: 'orderBy'
4104
+ property :search_result_mode, as: 'searchResultMode'
3969
4105
  end
3970
4106
  end
3971
4107
 
@@ -4304,6 +4440,50 @@ module Google
4304
4440
  end
4305
4441
  end
4306
4442
 
4443
+ class GoogleCloudDiscoveryengineV1betaChunk
4444
+ # @private
4445
+ class Representation < Google::Apis::Core::JsonRepresentation
4446
+ property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkChunkMetadata::Representation
4447
+
4448
+ property :content, as: 'content'
4449
+ hash :derived_struct_data, as: 'derivedStructData'
4450
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata::Representation
4451
+
4452
+ property :id, as: 'id'
4453
+ property :name, as: 'name'
4454
+ property :page_span, as: 'pageSpan', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkPageSpan, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunkPageSpan::Representation
4455
+
4456
+ property :relevance_score, as: 'relevanceScore'
4457
+ end
4458
+ end
4459
+
4460
+ class GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
4461
+ # @private
4462
+ class Representation < Google::Apis::Core::JsonRepresentation
4463
+ collection :next_chunks, as: 'nextChunks', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk::Representation
4464
+
4465
+ collection :previous_chunks, as: 'previousChunks', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk::Representation
4466
+
4467
+ end
4468
+ end
4469
+
4470
+ class GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata
4471
+ # @private
4472
+ class Representation < Google::Apis::Core::JsonRepresentation
4473
+ hash :struct_data, as: 'structData'
4474
+ property :title, as: 'title'
4475
+ property :uri, as: 'uri'
4476
+ end
4477
+ end
4478
+
4479
+ class GoogleCloudDiscoveryengineV1betaChunkPageSpan
4480
+ # @private
4481
+ class Representation < Google::Apis::Core::JsonRepresentation
4482
+ property :page_end, as: 'pageEnd'
4483
+ property :page_start, as: 'pageStart'
4484
+ end
4485
+ end
4486
+
4307
4487
  class GoogleCloudDiscoveryengineV1betaCloudSqlSource
4308
4488
  # @private
4309
4489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4553,6 +4733,8 @@ module Google
4553
4733
  property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
4554
4734
 
4555
4735
  property :industry_vertical, as: 'industryVertical'
4736
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLanguageInfo::Representation
4737
+
4556
4738
  property :name, as: 'name'
4557
4739
  collection :solution_types, as: 'solutionTypes'
4558
4740
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema::Representation
@@ -4651,6 +4833,8 @@ module Google
4651
4833
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
4652
4834
  # @private
4653
4835
  class Representation < Google::Apis::Core::JsonRepresentation
4836
+ property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig::Representation
4837
+
4654
4838
  property :default_parsing_config, as: 'defaultParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig::Representation
4655
4839
 
4656
4840
  property :name, as: 'name'
@@ -4659,11 +4843,29 @@ module Google
4659
4843
  end
4660
4844
  end
4661
4845
 
4846
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
4847
+ # @private
4848
+ class Representation < Google::Apis::Core::JsonRepresentation
4849
+ property :layout_based_chunking_config, as: 'layoutBasedChunkingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig::Representation
4850
+
4851
+ end
4852
+ end
4853
+
4854
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
4855
+ # @private
4856
+ class Representation < Google::Apis::Core::JsonRepresentation
4857
+ property :chunk_size, as: 'chunkSize'
4858
+ property :include_ancestor_headings, as: 'includeAncestorHeadings'
4859
+ end
4860
+ end
4861
+
4662
4862
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
4663
4863
  # @private
4664
4864
  class Representation < Google::Apis::Core::JsonRepresentation
4665
4865
  property :digital_parsing_config, as: 'digitalParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig::Representation
4666
4866
 
4867
+ property :layout_parsing_config, as: 'layoutParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig::Representation
4868
+
4667
4869
  property :ocr_parsing_config, as: 'ocrParsingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig::Representation
4668
4870
 
4669
4871
  end
@@ -4675,6 +4877,12 @@ module Google
4675
4877
  end
4676
4878
  end
4677
4879
 
4880
+ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
4881
+ # @private
4882
+ class Representation < Google::Apis::Core::JsonRepresentation
4883
+ end
4884
+ end
4885
+
4678
4886
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
4679
4887
  # @private
4680
4888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4847,6 +5055,8 @@ module Google
4847
5055
  class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
4848
5056
  # @private
4849
5057
  class Representation < Google::Apis::Core::JsonRepresentation
5058
+ property :alloy_db_source, as: 'alloyDbSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlloyDbSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAlloyDbSource::Representation
5059
+
4850
5060
  property :auto_generate_ids, as: 'autoGenerateIds'
4851
5061
  property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource::Representation
4852
5062
 
@@ -4987,6 +5197,16 @@ module Google
4987
5197
  end
4988
5198
  end
4989
5199
 
5200
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
5201
+ # @private
5202
+ class Representation < Google::Apis::Core::JsonRepresentation
5203
+ property :language, as: 'language'
5204
+ property :language_code, as: 'languageCode'
5205
+ property :normalized_language_code, as: 'normalizedLanguageCode'
5206
+ property :region, as: 'region'
5207
+ end
5208
+ end
5209
+
4990
5210
  class GoogleCloudDiscoveryengineV1betaListControlsResponse
4991
5211
  # @private
4992
5212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5340,6 +5560,7 @@ module Google
5340
5560
  property :filter, as: 'filter'
5341
5561
  property :image_query, as: 'imageQuery', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery::Representation
5342
5562
 
5563
+ property :language_code, as: 'languageCode'
5343
5564
  property :offset, as: 'offset'
5344
5565
  property :order_by, as: 'orderBy'
5345
5566
  property :page_size, as: 'pageSize'
@@ -5349,6 +5570,7 @@ module Google
5349
5570
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec::Representation
5350
5571
 
5351
5572
  property :ranking_expression, as: 'rankingExpression'
5573
+ property :region_code, as: 'regionCode'
5352
5574
  property :safe_search, as: 'safeSearch'
5353
5575
  property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec::Representation
5354
5576
 
@@ -5399,8 +5621,11 @@ module Google
5399
5621
  class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec
5400
5622
  # @private
5401
5623
  class Representation < Google::Apis::Core::JsonRepresentation
5624
+ property :chunk_spec, as: 'chunkSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec::Representation
5625
+
5402
5626
  property :extractive_content_spec, as: 'extractiveContentSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec::Representation
5403
5627
 
5628
+ property :search_result_mode, as: 'searchResultMode'
5404
5629
  property :snippet_spec, as: 'snippetSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec::Representation
5405
5630
 
5406
5631
  property :summary_spec, as: 'summarySpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec::Representation
@@ -5408,6 +5633,14 @@ module Google
5408
5633
  end
5409
5634
  end
5410
5635
 
5636
+ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec
5637
+ # @private
5638
+ class Representation < Google::Apis::Core::JsonRepresentation
5639
+ property :num_next_chunks, as: 'numNextChunks'
5640
+ property :num_previous_chunks, as: 'numPreviousChunks'
5641
+ end
5642
+ end
5643
+
5411
5644
  class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec
5412
5645
  # @private
5413
5646
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5608,6 +5841,8 @@ module Google
5608
5841
  class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult
5609
5842
  # @private
5610
5843
  class Representation < Google::Apis::Core::JsonRepresentation
5844
+ property :chunk, as: 'chunk', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaChunk::Representation
5845
+
5611
5846
  property :document, as: 'document', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument::Representation
5612
5847
 
5613
5848
  property :id, as: 'id'
@@ -893,7 +893,8 @@ module Google
893
893
  # @param [String] parent
894
894
  # Required. Full resource name of parent data store. Format: `projects/`
895
895
  # project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
896
- # `data_store_id``
896
+ # `data_store_id`` or `projects/`project_number`/locations/`location_id`/
897
+ # collections/`collection_id`/engines/`engine_id``.
897
898
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaControl] google_cloud_discoveryengine_v1beta_control_object
898
899
  # @param [String] control_id
899
900
  # Required. The ID to use for the Control, which will become the final component
@@ -998,6 +999,8 @@ module Google
998
999
  # @param [String] parent
999
1000
  # Required. The data store resource name. Format: `projects/`project_number`/
1000
1001
  # locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
1002
+ # or `projects/`project_number`/locations/`location_id`/collections/`
1003
+ # collection_id`/engines/`engine_id``.
1001
1004
  # @param [String] filter
1002
1005
  # Optional. A filter to apply on the list results. Supported features: * List
1003
1006
  # all the products under the parent branch if filter is unset. Currently this
@@ -3230,7 +3233,8 @@ module Google
3230
3233
  # @param [String] parent
3231
3234
  # Required. Full resource name of parent data store. Format: `projects/`
3232
3235
  # project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
3233
- # `data_store_id``
3236
+ # `data_store_id`` or `projects/`project_number`/locations/`location_id`/
3237
+ # collections/`collection_id`/engines/`engine_id``.
3234
3238
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaControl] google_cloud_discoveryengine_v1beta_control_object
3235
3239
  # @param [String] control_id
3236
3240
  # Required. The ID to use for the Control, which will become the final component
@@ -3335,6 +3339,8 @@ module Google
3335
3339
  # @param [String] parent
3336
3340
  # Required. The data store resource name. Format: `projects/`project_number`/
3337
3341
  # locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
3342
+ # or `projects/`project_number`/locations/`location_id`/collections/`
3343
+ # collection_id`/engines/`engine_id``.
3338
3344
  # @param [String] filter
3339
3345
  # Optional. A filter to apply on the list results. Supported features: * List
3340
3346
  # all the products under the parent branch if filter is unset. Currently this
@@ -4934,7 +4940,8 @@ module Google
4934
4940
  # @param [String] parent
4935
4941
  # Required. Full resource name of parent data store. Format: `projects/`
4936
4942
  # project_number`/locations/`location_id`/collections/`collection_id`/dataStores/
4937
- # `data_store_id``
4943
+ # `data_store_id`` or `projects/`project_number`/locations/`location_id`/
4944
+ # collections/`collection_id`/engines/`engine_id``.
4938
4945
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaControl] google_cloud_discoveryengine_v1beta_control_object
4939
4946
  # @param [String] control_id
4940
4947
  # Required. The ID to use for the Control, which will become the final component
@@ -5039,6 +5046,8 @@ module Google
5039
5046
  # @param [String] parent
5040
5047
  # Required. The data store resource name. Format: `projects/`project_number`/
5041
5048
  # locations/`location_id`/collections/`collection_id`/dataStores/`data_store_id``
5049
+ # or `projects/`project_number`/locations/`location_id`/collections/`
5050
+ # collection_id`/engines/`engine_id``.
5042
5051
  # @param [String] filter
5043
5052
  # Optional. A filter to apply on the list results. Supported features: * List
5044
5053
  # all the products under the parent branch if filter is unset. Currently this
@@ -6785,6 +6794,54 @@ module Google
6785
6794
  execute_or_queue_command(command, &block)
6786
6795
  end
6787
6796
 
6797
+ # Writes a single user event from the browser. This uses a GET request to due to
6798
+ # browser restriction of POST-ing to a third-party domain. This method is used
6799
+ # only by the Discovery Engine API JavaScript pixel and Google Tag Manager.
6800
+ # Users should not call this method directly.
6801
+ # @param [String] parent
6802
+ # Required. The parent DataStore resource name, such as `projects/`project`/
6803
+ # locations/`location`/collections/`collection`/dataStores/`data_store``.
6804
+ # @param [Fixnum] ets
6805
+ # The event timestamp in milliseconds. This prevents browser caching of
6806
+ # otherwise identical get requests. The name is abbreviated to reduce the
6807
+ # payload bytes.
6808
+ # @param [String] uri
6809
+ # The URL including cgi-parameters but excluding the hash fragment with a length
6810
+ # limit of 5,000 characters. This is often more useful than the referer URL,
6811
+ # because many browsers only send the domain for third-party requests.
6812
+ # @param [String] user_event
6813
+ # Required. URL encoded UserEvent proto with a length limit of 2,000,000
6814
+ # characters.
6815
+ # @param [String] fields
6816
+ # Selector specifying which fields to include in a partial response.
6817
+ # @param [String] quota_user
6818
+ # Available to use for quota purposes for server-side applications. Can be any
6819
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6820
+ # @param [Google::Apis::RequestOptions] options
6821
+ # Request-specific options
6822
+ #
6823
+ # @yield [result, err] Result & error if block supplied
6824
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleApiHttpBody] parsed result object
6825
+ # @yieldparam err [StandardError] error object if request failed
6826
+ #
6827
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleApiHttpBody]
6828
+ #
6829
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6830
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6831
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6832
+ def collect_project_location_user_event(parent, ets: nil, uri: nil, user_event: nil, fields: nil, quota_user: nil, options: nil, &block)
6833
+ command = make_simple_command(:get, 'v1beta/{+parent}/userEvents:collect', options)
6834
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleApiHttpBody::Representation
6835
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleApiHttpBody
6836
+ command.params['parent'] = parent unless parent.nil?
6837
+ command.query['ets'] = ets unless ets.nil?
6838
+ command.query['uri'] = uri unless uri.nil?
6839
+ command.query['userEvent'] = user_event unless user_event.nil?
6840
+ command.query['fields'] = fields unless fields.nil?
6841
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6842
+ execute_or_queue_command(command, &block)
6843
+ end
6844
+
6788
6845
  # Writes a single user event.
6789
6846
  # @param [String] parent
6790
6847
  # Required. The parent resource name. If the write user event action is applied
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []