google-apis-discoveryengine_v1 0.23.0 → 0.24.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 DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241123"
25
+ REVISION = "20241206"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class GoogleCloudDiscoveryengineV1AnswerGroundingSupport
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class GoogleCloudDiscoveryengineV1AnswerQueryRequest
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -1426,6 +1438,24 @@ module Google
1426
1438
  include Google::Apis::Core::JsonObjectSupport
1427
1439
  end
1428
1440
 
1441
+ class GoogleCloudDiscoveryengineV1ServingConfig
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1447
+ class GoogleCloudDiscoveryengineV1ServingConfigGenericConfig
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1453
+ class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig
1454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1455
+
1456
+ include Google::Apis::Core::JsonObjectSupport
1457
+ end
1458
+
1429
1459
  class GoogleCloudDiscoveryengineV1Session
1430
1460
  class Representation < Google::Apis::Core::JsonRepresentation; end
1431
1461
 
@@ -1582,6 +1612,12 @@ module Google
1582
1612
  include Google::Apis::Core::JsonObjectSupport
1583
1613
  end
1584
1614
 
1615
+ class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport
1616
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1617
+
1618
+ include Google::Apis::Core::JsonObjectSupport
1619
+ end
1620
+
1585
1621
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo
1586
1622
  class Representation < Google::Apis::Core::JsonRepresentation; end
1587
1623
 
@@ -1840,6 +1876,12 @@ module Google
1840
1876
  include Google::Apis::Core::JsonObjectSupport
1841
1877
  end
1842
1878
 
1879
+ class GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest
1880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1881
+
1882
+ include Google::Apis::Core::JsonObjectSupport
1883
+ end
1884
+
1843
1885
  class GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata
1844
1886
  class Representation < Google::Apis::Core::JsonRepresentation; end
1845
1887
 
@@ -2026,6 +2068,12 @@ module Google
2026
2068
  include Google::Apis::Core::JsonObjectSupport
2027
2069
  end
2028
2070
 
2071
+ class GoogleCloudDiscoveryengineV1alphaGetSessionRequest
2072
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2073
+
2074
+ include Google::Apis::Core::JsonObjectSupport
2075
+ end
2076
+
2029
2077
  class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse
2030
2078
  class Representation < Google::Apis::Core::JsonRepresentation; end
2031
2079
 
@@ -2128,6 +2176,18 @@ module Google
2128
2176
  include Google::Apis::Core::JsonObjectSupport
2129
2177
  end
2130
2178
 
2179
+ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
2180
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2181
+
2182
+ include Google::Apis::Core::JsonObjectSupport
2183
+ end
2184
+
2185
+ class GoogleCloudDiscoveryengineV1alphaListSessionsResponse
2186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2187
+
2188
+ include Google::Apis::Core::JsonObjectSupport
2189
+ end
2190
+
2131
2191
  class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig
2132
2192
  class Representation < Google::Apis::Core::JsonRepresentation; end
2133
2193
 
@@ -2500,6 +2560,12 @@ module Google
2500
2560
  include Google::Apis::Core::JsonObjectSupport
2501
2561
  end
2502
2562
 
2563
+ class GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest
2564
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2565
+
2566
+ include Google::Apis::Core::JsonObjectSupport
2567
+ end
2568
+
2503
2569
  class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata
2504
2570
  class Representation < Google::Apis::Core::JsonRepresentation; end
2505
2571
 
@@ -3445,6 +3511,9 @@ module Google
3445
3511
 
3446
3512
  property :complete_time, as: 'completeTime'
3447
3513
  property :create_time, as: 'createTime'
3514
+ property :grounding_score, as: 'groundingScore'
3515
+ collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGroundingSupport, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGroundingSupport::Representation
3516
+
3448
3517
  property :name, as: 'name'
3449
3518
  property :query_understanding_info, as: 'queryUnderstandingInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo::Representation
3450
3519
 
@@ -3474,6 +3543,18 @@ module Google
3474
3543
  end
3475
3544
  end
3476
3545
 
3546
+ class GoogleCloudDiscoveryengineV1AnswerGroundingSupport
3547
+ # @private
3548
+ class Representation < Google::Apis::Core::JsonRepresentation
3549
+ property :end_index, :numeric_string => true, as: 'endIndex'
3550
+ property :grounding_check_required, as: 'groundingCheckRequired'
3551
+ property :grounding_score, as: 'groundingScore'
3552
+ collection :sources, as: 'sources', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitationSource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitationSource::Representation
3553
+
3554
+ property :start_index, :numeric_string => true, as: 'startIndex'
3555
+ end
3556
+ end
3557
+
3477
3558
  class GoogleCloudDiscoveryengineV1AnswerQueryRequest
3478
3559
  # @private
3479
3560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3558,6 +3639,15 @@ module Google
3558
3639
  class Representation < Google::Apis::Core::JsonRepresentation
3559
3640
  property :disable, as: 'disable'
3560
3641
  property :max_rephrase_steps, as: 'maxRephraseSteps'
3642
+ property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec::Representation
3643
+
3644
+ end
3645
+ end
3646
+
3647
+ class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
3648
+ # @private
3649
+ class Representation < Google::Apis::Core::JsonRepresentation
3650
+ property :model_type, as: 'modelType'
3561
3651
  end
3562
3652
  end
3563
3653
 
@@ -4631,6 +4721,7 @@ module Google
4631
4721
  property :fhir_store, as: 'fhirStore'
4632
4722
  property :gcs_staging_dir, as: 'gcsStagingDir'
4633
4723
  collection :resource_types, as: 'resourceTypes'
4724
+ property :update_from_latest_predefined_schema, as: 'updateFromLatestPredefinedSchema'
4634
4725
  end
4635
4726
  end
4636
4727
 
@@ -5380,6 +5471,8 @@ module Google
5380
5471
  class GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec
5381
5472
  # @private
5382
5473
  class Representation < Google::Apis::Core::JsonRepresentation
5474
+ property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec::Representation
5475
+
5383
5476
  property :data_store, as: 'dataStore'
5384
5477
  property :filter, as: 'filter'
5385
5478
  end
@@ -5592,10 +5685,58 @@ module Google
5592
5685
  end
5593
5686
  end
5594
5687
 
5688
+ class GoogleCloudDiscoveryengineV1ServingConfig
5689
+ # @private
5690
+ class Representation < Google::Apis::Core::JsonRepresentation
5691
+ collection :boost_control_ids, as: 'boostControlIds'
5692
+ property :create_time, as: 'createTime'
5693
+ property :display_name, as: 'displayName'
5694
+ collection :dissociate_control_ids, as: 'dissociateControlIds'
5695
+ property :diversity_level, as: 'diversityLevel'
5696
+ collection :filter_control_ids, as: 'filterControlIds'
5697
+ property :generic_config, as: 'genericConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigGenericConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigGenericConfig::Representation
5698
+
5699
+ collection :ignore_control_ids, as: 'ignoreControlIds'
5700
+ property :media_config, as: 'mediaConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigMediaConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfigMediaConfig::Representation
5701
+
5702
+ property :model_id, as: 'modelId'
5703
+ property :name, as: 'name'
5704
+ collection :oneway_synonyms_control_ids, as: 'onewaySynonymsControlIds'
5705
+ collection :promote_control_ids, as: 'promoteControlIds'
5706
+ property :ranking_expression, as: 'rankingExpression'
5707
+ collection :redirect_control_ids, as: 'redirectControlIds'
5708
+ collection :replacement_control_ids, as: 'replacementControlIds'
5709
+ property :solution_type, as: 'solutionType'
5710
+ collection :synonyms_control_ids, as: 'synonymsControlIds'
5711
+ property :update_time, as: 'updateTime'
5712
+ end
5713
+ end
5714
+
5715
+ class GoogleCloudDiscoveryengineV1ServingConfigGenericConfig
5716
+ # @private
5717
+ class Representation < Google::Apis::Core::JsonRepresentation
5718
+ property :content_search_spec, as: 'contentSearchSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec::Representation
5719
+
5720
+ end
5721
+ end
5722
+
5723
+ class GoogleCloudDiscoveryengineV1ServingConfigMediaConfig
5724
+ # @private
5725
+ class Representation < Google::Apis::Core::JsonRepresentation
5726
+ property :content_freshness_cutoff_days, as: 'contentFreshnessCutoffDays'
5727
+ property :content_watched_percentage_threshold, as: 'contentWatchedPercentageThreshold'
5728
+ property :content_watched_seconds_threshold, as: 'contentWatchedSecondsThreshold'
5729
+ property :demote_content_watched_past_days, as: 'demoteContentWatchedPastDays'
5730
+ property :demotion_event_type, as: 'demotionEventType'
5731
+ end
5732
+ end
5733
+
5595
5734
  class GoogleCloudDiscoveryengineV1Session
5596
5735
  # @private
5597
5736
  class Representation < Google::Apis::Core::JsonRepresentation
5737
+ property :display_name, as: 'displayName'
5598
5738
  property :end_time, as: 'endTime'
5739
+ property :is_pinned, as: 'isPinned'
5599
5740
  property :name, as: 'name'
5600
5741
  property :start_time, as: 'startTime'
5601
5742
  property :state, as: 'state'
@@ -5853,6 +5994,9 @@ module Google
5853
5994
 
5854
5995
  property :complete_time, as: 'completeTime'
5855
5996
  property :create_time, as: 'createTime'
5997
+ property :grounding_score, as: 'groundingScore'
5998
+ collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport::Representation
5999
+
5856
6000
  property :name, as: 'name'
5857
6001
  property :query_understanding_info, as: 'queryUnderstandingInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo::Representation
5858
6002
 
@@ -5882,6 +6026,18 @@ module Google
5882
6026
  end
5883
6027
  end
5884
6028
 
6029
+ class GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport
6030
+ # @private
6031
+ class Representation < Google::Apis::Core::JsonRepresentation
6032
+ property :end_index, :numeric_string => true, as: 'endIndex'
6033
+ property :grounding_check_required, as: 'groundingCheckRequired'
6034
+ property :grounding_score, as: 'groundingScore'
6035
+ collection :sources, as: 'sources', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitationSource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitationSource::Representation
6036
+
6037
+ property :start_index, :numeric_string => true, as: 'startIndex'
6038
+ end
6039
+ end
6040
+
5885
6041
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo
5886
6042
  # @private
5887
6043
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6309,6 +6465,13 @@ module Google
6309
6465
  end
6310
6466
  end
6311
6467
 
6468
+ class GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest
6469
+ # @private
6470
+ class Representation < Google::Apis::Core::JsonRepresentation
6471
+ property :name, as: 'name'
6472
+ end
6473
+ end
6474
+
6312
6475
  class GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata
6313
6476
  # @private
6314
6477
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6602,6 +6765,14 @@ module Google
6602
6765
  end
6603
6766
  end
6604
6767
 
6768
+ class GoogleCloudDiscoveryengineV1alphaGetSessionRequest
6769
+ # @private
6770
+ class Representation < Google::Apis::Core::JsonRepresentation
6771
+ property :include_answer_details, as: 'includeAnswerDetails'
6772
+ property :name, as: 'name'
6773
+ end
6774
+ end
6775
+
6605
6776
  class GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse
6606
6777
  # @private
6607
6778
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6762,6 +6933,26 @@ module Google
6762
6933
  end
6763
6934
  end
6764
6935
 
6936
+ class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
6937
+ # @private
6938
+ class Representation < Google::Apis::Core::JsonRepresentation
6939
+ property :filter, as: 'filter'
6940
+ property :order_by, as: 'orderBy'
6941
+ property :page_size, as: 'pageSize'
6942
+ property :page_token, as: 'pageToken'
6943
+ property :parent, as: 'parent'
6944
+ end
6945
+ end
6946
+
6947
+ class GoogleCloudDiscoveryengineV1alphaListSessionsResponse
6948
+ # @private
6949
+ class Representation < Google::Apis::Core::JsonRepresentation
6950
+ property :next_page_token, as: 'nextPageToken'
6951
+ collection :sessions, as: 'sessions', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSession, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSession::Representation
6952
+
6953
+ end
6954
+ end
6955
+
6765
6956
  class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig
6766
6957
  # @private
6767
6958
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7156,6 +7347,8 @@ module Google
7156
7347
  class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
7157
7348
  # @private
7158
7349
  class Representation < Google::Apis::Core::JsonRepresentation
7350
+ property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
7351
+
7159
7352
  property :data_store, as: 'dataStore'
7160
7353
  property :filter, as: 'filter'
7161
7354
  end
@@ -7257,7 +7450,9 @@ module Google
7257
7450
  class GoogleCloudDiscoveryengineV1alphaSession
7258
7451
  # @private
7259
7452
  class Representation < Google::Apis::Core::JsonRepresentation
7453
+ property :display_name, as: 'displayName'
7260
7454
  property :end_time, as: 'endTime'
7455
+ property :is_pinned, as: 'isPinned'
7261
7456
  property :name, as: 'name'
7262
7457
  property :start_time, as: 'startTime'
7263
7458
  property :state, as: 'state'
@@ -7392,6 +7587,15 @@ module Google
7392
7587
  end
7393
7588
  end
7394
7589
 
7590
+ class GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest
7591
+ # @private
7592
+ class Representation < Google::Apis::Core::JsonRepresentation
7593
+ property :session, as: 'session', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSession, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSession::Representation
7594
+
7595
+ property :update_mask, as: 'updateMask'
7596
+ end
7597
+ end
7598
+
7395
7599
  class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata
7396
7600
  # @private
7397
7601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8316,6 +8520,8 @@ module Google
8316
8520
  class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
8317
8521
  # @private
8318
8522
  class Representation < Google::Apis::Core::JsonRepresentation
8523
+ property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
8524
+
8319
8525
  property :data_store, as: 'dataStore'
8320
8526
  property :filter, as: 'filter'
8321
8527
  end