google-apis-discoveryengine_v1 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250322"
25
+ REVISION = "20250419"
26
26
  end
27
27
  end
28
28
  end
@@ -160,6 +160,18 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class GoogleCloudDiscoveryengineV1AnswerGroundingSupport
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -808,6 +820,18 @@ module Google
808
820
  include Google::Apis::Core::JsonObjectSupport
809
821
  end
810
822
 
823
+ class GoogleCloudDiscoveryengineV1DocumentAclInfo
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
811
835
  class GoogleCloudDiscoveryengineV1DocumentContent
812
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
837
 
@@ -922,6 +946,36 @@ module Google
922
946
  include Google::Apis::Core::JsonObjectSupport
923
947
  end
924
948
 
949
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
973
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
925
979
  class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
926
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
927
981
 
@@ -1216,6 +1270,12 @@ module Google
1216
1270
  include Google::Apis::Core::JsonObjectSupport
1217
1271
  end
1218
1272
 
1273
+ class GoogleCloudDiscoveryengineV1Principal
1274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1275
+
1276
+ include Google::Apis::Core::JsonObjectSupport
1277
+ end
1278
+
1219
1279
  class GoogleCloudDiscoveryengineV1Project
1220
1280
  class Representation < Google::Apis::Core::JsonRepresentation; end
1221
1281
 
@@ -2098,6 +2158,18 @@ module Google
2098
2158
  include Google::Apis::Core::JsonObjectSupport
2099
2159
  end
2100
2160
 
2161
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig
2162
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2163
+
2164
+ include Google::Apis::Core::JsonObjectSupport
2165
+ end
2166
+
2167
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
2168
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2169
+
2170
+ include Google::Apis::Core::JsonObjectSupport
2171
+ end
2172
+
2101
2173
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
2102
2174
  class Representation < Google::Apis::Core::JsonRepresentation; end
2103
2175
 
@@ -2296,12 +2368,30 @@ module Google
2296
2368
  include Google::Apis::Core::JsonObjectSupport
2297
2369
  end
2298
2370
 
2371
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
2372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2373
+
2374
+ include Google::Apis::Core::JsonObjectSupport
2375
+ end
2376
+
2377
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
2378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2379
+
2380
+ include Google::Apis::Core::JsonObjectSupport
2381
+ end
2382
+
2299
2383
  class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
2300
2384
  class Representation < Google::Apis::Core::JsonRepresentation; end
2301
2385
 
2302
2386
  include Google::Apis::Core::JsonObjectSupport
2303
2387
  end
2304
2388
 
2389
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
2390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2391
+
2392
+ include Google::Apis::Core::JsonObjectSupport
2393
+ end
2394
+
2305
2395
  class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
2306
2396
  class Representation < Google::Apis::Core::JsonRepresentation; end
2307
2397
 
@@ -3244,6 +3334,36 @@ module Google
3244
3334
  include Google::Apis::Core::JsonObjectSupport
3245
3335
  end
3246
3336
 
3337
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig
3338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3339
+
3340
+ include Google::Apis::Core::JsonObjectSupport
3341
+ end
3342
+
3343
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
3344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3345
+
3346
+ include Google::Apis::Core::JsonObjectSupport
3347
+ end
3348
+
3349
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
3350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3351
+
3352
+ include Google::Apis::Core::JsonObjectSupport
3353
+ end
3354
+
3355
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
3356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3357
+
3358
+ include Google::Apis::Core::JsonObjectSupport
3359
+ end
3360
+
3361
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
3362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3363
+
3364
+ include Google::Apis::Core::JsonObjectSupport
3365
+ end
3366
+
3247
3367
  class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
3248
3368
  class Representation < Google::Apis::Core::JsonRepresentation; end
3249
3369
 
@@ -4030,6 +4150,28 @@ module Google
4030
4150
  end
4031
4151
  end
4032
4152
 
4153
+ class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
4154
+ # @private
4155
+ class Representation < Google::Apis::Core::JsonRepresentation
4156
+ property :user_defined_classifier_spec, as: 'userDefinedClassifierSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec::Representation
4157
+
4158
+ end
4159
+ end
4160
+
4161
+ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec
4162
+ # @private
4163
+ class Representation < Google::Apis::Core::JsonRepresentation
4164
+ property :enable_user_defined_classifier, as: 'enableUserDefinedClassifier'
4165
+ property :model_id, as: 'modelId'
4166
+ property :preamble, as: 'preamble'
4167
+ property :seed, as: 'seed'
4168
+ property :task_marker, as: 'taskMarker'
4169
+ property :temperature, as: 'temperature'
4170
+ property :top_k, :numeric_string => true, as: 'topK'
4171
+ property :top_p, as: 'topP'
4172
+ end
4173
+ end
4174
+
4033
4175
  class GoogleCloudDiscoveryengineV1AnswerGroundingSupport
4034
4176
  # @private
4035
4177
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4605,6 +4747,7 @@ module Google
4605
4747
  property :claim_text, as: 'claimText'
4606
4748
  property :end_pos, as: 'endPos'
4607
4749
  property :grounding_check_required, as: 'groundingCheckRequired'
4750
+ property :score, as: 'score'
4608
4751
  property :start_pos, as: 'startPos'
4609
4752
  end
4610
4753
  end
@@ -4613,15 +4756,18 @@ module Google
4613
4756
  # @private
4614
4757
  class Representation < Google::Apis::Core::JsonRepresentation
4615
4758
  property :citation_threshold, as: 'citationThreshold'
4759
+ property :enable_claim_level_score, as: 'enableClaimLevelScore'
4616
4760
  end
4617
4761
  end
4618
4762
 
4619
4763
  class GoogleCloudDiscoveryengineV1Chunk
4620
4764
  # @private
4621
4765
  class Representation < Google::Apis::Core::JsonRepresentation
4766
+ collection :annotation_contents, as: 'annotationContents'
4622
4767
  property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkChunkMetadata::Representation
4623
4768
 
4624
4769
  property :content, as: 'content'
4770
+ collection :data_urls, as: 'dataUrls'
4625
4771
  hash :derived_struct_data, as: 'derivedStructData'
4626
4772
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ChunkDocumentMetadata::Representation
4627
4773
 
@@ -5101,6 +5247,8 @@ module Google
5101
5247
  class GoogleCloudDiscoveryengineV1Document
5102
5248
  # @private
5103
5249
  class Representation < Google::Apis::Core::JsonRepresentation
5250
+ property :acl_info, as: 'aclInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfo::Representation
5251
+
5104
5252
  property :content, as: 'content', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentContent, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentContent::Representation
5105
5253
 
5106
5254
  hash :derived_struct_data, as: 'derivedStructData'
@@ -5116,6 +5264,23 @@ module Google
5116
5264
  end
5117
5265
  end
5118
5266
 
5267
+ class GoogleCloudDiscoveryengineV1DocumentAclInfo
5268
+ # @private
5269
+ class Representation < Google::Apis::Core::JsonRepresentation
5270
+ collection :readers, as: 'readers', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction::Representation
5271
+
5272
+ end
5273
+ end
5274
+
5275
+ class GoogleCloudDiscoveryengineV1DocumentAclInfoAccessRestriction
5276
+ # @private
5277
+ class Representation < Google::Apis::Core::JsonRepresentation
5278
+ property :idp_wide, as: 'idpWide'
5279
+ collection :principals, as: 'principals', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Principal, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Principal::Representation
5280
+
5281
+ end
5282
+ end
5283
+
5119
5284
  class GoogleCloudDiscoveryengineV1DocumentContent
5120
5285
  # @private
5121
5286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5200,6 +5365,9 @@ module Google
5200
5365
  class Representation < Google::Apis::Core::JsonRepresentation
5201
5366
  property :enable_image_annotation, as: 'enableImageAnnotation'
5202
5367
  property :enable_table_annotation, as: 'enableTableAnnotation'
5368
+ collection :exclude_html_classes, as: 'excludeHtmlClasses'
5369
+ collection :exclude_html_elements, as: 'excludeHtmlElements'
5370
+ collection :exclude_html_ids, as: 'excludeHtmlIds'
5203
5371
  end
5204
5372
  end
5205
5373
 
@@ -5252,6 +5420,8 @@ module Google
5252
5420
  property :disable_analytics, as: 'disableAnalytics'
5253
5421
  property :display_name, as: 'displayName'
5254
5422
  property :industry_vertical, as: 'industryVertical'
5423
+ property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig::Representation
5424
+
5255
5425
  property :name, as: 'name'
5256
5426
  property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig::Representation
5257
5427
 
@@ -5294,6 +5464,51 @@ module Google
5294
5464
  end
5295
5465
  end
5296
5466
 
5467
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig
5468
+ # @private
5469
+ class Representation < Google::Apis::Core::JsonRepresentation
5470
+ property :engine_features_config, as: 'engineFeaturesConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig::Representation
5471
+
5472
+ property :optimization_objective, as: 'optimizationObjective'
5473
+ property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
5474
+
5475
+ property :training_state, as: 'trainingState'
5476
+ property :type, as: 'type'
5477
+ end
5478
+ end
5479
+
5480
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigEngineFeaturesConfig
5481
+ # @private
5482
+ class Representation < Google::Apis::Core::JsonRepresentation
5483
+ property :most_popular_config, as: 'mostPopularConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig::Representation
5484
+
5485
+ property :recommended_for_you_config, as: 'recommendedForYouConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig::Representation
5486
+
5487
+ end
5488
+ end
5489
+
5490
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigMostPopularFeatureConfig
5491
+ # @private
5492
+ class Representation < Google::Apis::Core::JsonRepresentation
5493
+ property :time_window_days, :numeric_string => true, as: 'timeWindowDays'
5494
+ end
5495
+ end
5496
+
5497
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
5498
+ # @private
5499
+ class Representation < Google::Apis::Core::JsonRepresentation
5500
+ property :target_field, as: 'targetField'
5501
+ property :target_field_value_float, as: 'targetFieldValueFloat'
5502
+ end
5503
+ end
5504
+
5505
+ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
5506
+ # @private
5507
+ class Representation < Google::Apis::Core::JsonRepresentation
5508
+ property :context_event_type, as: 'contextEventType'
5509
+ end
5510
+ end
5511
+
5297
5512
  class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
5298
5513
  # @private
5299
5514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5306,9 +5521,12 @@ module Google
5306
5521
  # @private
5307
5522
  class Representation < Google::Apis::Core::JsonRepresentation
5308
5523
  property :chunk_text, as: 'chunkText'
5524
+ property :domain, as: 'domain'
5309
5525
  property :index, as: 'index'
5310
5526
  property :source, as: 'source'
5311
5527
  hash :source_metadata, as: 'sourceMetadata'
5528
+ property :title, as: 'title'
5529
+ property :uri, as: 'uri'
5312
5530
  end
5313
5531
  end
5314
5532
 
@@ -5770,6 +5988,14 @@ module Google
5770
5988
  end
5771
5989
  end
5772
5990
 
5991
+ class GoogleCloudDiscoveryengineV1Principal
5992
+ # @private
5993
+ class Representation < Google::Apis::Core::JsonRepresentation
5994
+ property :group_id, as: 'groupId'
5995
+ property :user_id, as: 'userId'
5996
+ end
5997
+ end
5998
+
5773
5999
  class GoogleCloudDiscoveryengineV1Project
5774
6000
  # @private
5775
6001
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6048,6 +6274,7 @@ module Google
6048
6274
  # @private
6049
6275
  class Representation < Google::Apis::Core::JsonRepresentation
6050
6276
  property :description, as: 'description'
6277
+ property :document, as: 'document'
6051
6278
  property :enabled, as: 'enabled'
6052
6279
  property :image_uri, as: 'imageUri'
6053
6280
  property :title, as: 'title'
@@ -6449,6 +6676,8 @@ module Google
6449
6676
  class GoogleCloudDiscoveryengineV1ServingConfig
6450
6677
  # @private
6451
6678
  class Representation < Google::Apis::Core::JsonRepresentation
6679
+ property :answer_generation_spec, as: 'answerGenerationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerGenerationSpec::Representation
6680
+
6452
6681
  collection :boost_control_ids, as: 'boostControlIds'
6453
6682
  property :create_time, as: 'createTime'
6454
6683
  property :display_name, as: 'displayName'
@@ -7284,6 +7513,7 @@ module Google
7284
7513
  class GoogleCloudDiscoveryengineV1alphaDataConnector
7285
7514
  # @private
7286
7515
  class Representation < Google::Apis::Core::JsonRepresentation
7516
+ property :acl_enabled, as: 'aclEnabled'
7287
7517
  property :action_config, as: 'actionConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig::Representation
7288
7518
 
7289
7519
  collection :alert_policy_configs, as: 'alertPolicyConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig::Representation
@@ -7292,11 +7522,14 @@ module Google
7292
7522
  property :bap_config, as: 'bapConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaBapConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaBapConfig::Representation
7293
7523
 
7294
7524
  collection :blocking_reasons, as: 'blockingReasons'
7525
+ collection :connector_modes, as: 'connectorModes'
7295
7526
  property :connector_type, as: 'connectorType'
7296
7527
  property :create_time, as: 'createTime'
7297
7528
  property :data_source, as: 'dataSource'
7298
7529
  collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
7299
7530
 
7531
+ property :end_user_config, as: 'endUserConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig::Representation
7532
+
7300
7533
  collection :entities, as: 'entities', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity::Representation
7301
7534
 
7302
7535
  collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
@@ -7313,6 +7546,8 @@ module Google
7313
7546
  hash :params, as: 'params'
7314
7547
  property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
7315
7548
  property :realtime_state, as: 'realtimeState'
7549
+ property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
7550
+
7316
7551
  property :refresh_interval, as: 'refreshInterval'
7317
7552
  property :state, as: 'state'
7318
7553
  collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -7322,6 +7557,22 @@ module Google
7322
7557
  end
7323
7558
  end
7324
7559
 
7560
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig
7561
+ # @private
7562
+ class Representation < Google::Apis::Core::JsonRepresentation
7563
+ hash :additional_params, as: 'additionalParams'
7564
+ hash :auth_params, as: 'authParams'
7565
+ end
7566
+ end
7567
+
7568
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
7569
+ # @private
7570
+ class Representation < Google::Apis::Core::JsonRepresentation
7571
+ property :realtime_sync_secret, as: 'realtimeSyncSecret'
7572
+ property :webhook_uri, as: 'webhookUri'
7573
+ end
7574
+ end
7575
+
7325
7576
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
7326
7577
  # @private
7327
7578
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7563,6 +7814,9 @@ module Google
7563
7814
  class Representation < Google::Apis::Core::JsonRepresentation
7564
7815
  property :enable_image_annotation, as: 'enableImageAnnotation'
7565
7816
  property :enable_table_annotation, as: 'enableTableAnnotation'
7817
+ collection :exclude_html_classes, as: 'excludeHtmlClasses'
7818
+ collection :exclude_html_elements, as: 'excludeHtmlElements'
7819
+ collection :exclude_html_ids, as: 'excludeHtmlIds'
7566
7820
  end
7567
7821
  end
7568
7822
 
@@ -7653,6 +7907,8 @@ module Google
7653
7907
  class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
7654
7908
  # @private
7655
7909
  class Representation < Google::Apis::Core::JsonRepresentation
7910
+ property :engine_features_config, as: 'engineFeaturesConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig::Representation
7911
+
7656
7912
  property :optimization_objective, as: 'optimizationObjective'
7657
7913
  property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
7658
7914
 
@@ -7661,6 +7917,23 @@ module Google
7661
7917
  end
7662
7918
  end
7663
7919
 
7920
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
7921
+ # @private
7922
+ class Representation < Google::Apis::Core::JsonRepresentation
7923
+ property :most_popular_config, as: 'mostPopularConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig::Representation
7924
+
7925
+ property :recommended_for_you_config, as: 'recommendedForYouConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig::Representation
7926
+
7927
+ end
7928
+ end
7929
+
7930
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
7931
+ # @private
7932
+ class Representation < Google::Apis::Core::JsonRepresentation
7933
+ property :time_window_days, :numeric_string => true, as: 'timeWindowDays'
7934
+ end
7935
+ end
7936
+
7664
7937
  class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
7665
7938
  # @private
7666
7939
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7669,6 +7942,13 @@ module Google
7669
7942
  end
7670
7943
  end
7671
7944
 
7945
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
7946
+ # @private
7947
+ class Representation < Google::Apis::Core::JsonRepresentation
7948
+ property :context_event_type, as: 'contextEventType'
7949
+ end
7950
+ end
7951
+
7672
7952
  class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
7673
7953
  # @private
7674
7954
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8225,6 +8505,7 @@ module Google
8225
8505
  # @private
8226
8506
  class Representation < Google::Apis::Core::JsonRepresentation
8227
8507
  property :description, as: 'description'
8508
+ property :document, as: 'document'
8228
8509
  property :enabled, as: 'enabled'
8229
8510
  property :image_uri, as: 'imageUri'
8230
8511
  property :title, as: 'title'
@@ -9131,6 +9412,9 @@ module Google
9131
9412
  class Representation < Google::Apis::Core::JsonRepresentation
9132
9413
  property :enable_image_annotation, as: 'enableImageAnnotation'
9133
9414
  property :enable_table_annotation, as: 'enableTableAnnotation'
9415
+ collection :exclude_html_classes, as: 'excludeHtmlClasses'
9416
+ collection :exclude_html_elements, as: 'excludeHtmlElements'
9417
+ collection :exclude_html_ids, as: 'excludeHtmlIds'
9134
9418
  end
9135
9419
  end
9136
9420
 
@@ -9170,6 +9454,8 @@ module Google
9170
9454
  property :disable_analytics, as: 'disableAnalytics'
9171
9455
  property :display_name, as: 'displayName'
9172
9456
  property :industry_vertical, as: 'industryVertical'
9457
+ property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig::Representation
9458
+
9173
9459
  property :name, as: 'name'
9174
9460
  property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig::Representation
9175
9461
 
@@ -9212,6 +9498,51 @@ module Google
9212
9498
  end
9213
9499
  end
9214
9500
 
9501
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig
9502
+ # @private
9503
+ class Representation < Google::Apis::Core::JsonRepresentation
9504
+ property :engine_features_config, as: 'engineFeaturesConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig::Representation
9505
+
9506
+ property :optimization_objective, as: 'optimizationObjective'
9507
+ property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
9508
+
9509
+ property :training_state, as: 'trainingState'
9510
+ property :type, as: 'type'
9511
+ end
9512
+ end
9513
+
9514
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigEngineFeaturesConfig
9515
+ # @private
9516
+ class Representation < Google::Apis::Core::JsonRepresentation
9517
+ property :most_popular_config, as: 'mostPopularConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig::Representation
9518
+
9519
+ property :recommended_for_you_config, as: 'recommendedForYouConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig::Representation
9520
+
9521
+ end
9522
+ end
9523
+
9524
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig
9525
+ # @private
9526
+ class Representation < Google::Apis::Core::JsonRepresentation
9527
+ property :time_window_days, :numeric_string => true, as: 'timeWindowDays'
9528
+ end
9529
+ end
9530
+
9531
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
9532
+ # @private
9533
+ class Representation < Google::Apis::Core::JsonRepresentation
9534
+ property :target_field, as: 'targetField'
9535
+ property :target_field_value_float, as: 'targetFieldValueFloat'
9536
+ end
9537
+ end
9538
+
9539
+ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig
9540
+ # @private
9541
+ class Representation < Google::Apis::Core::JsonRepresentation
9542
+ property :context_event_type, as: 'contextEventType'
9543
+ end
9544
+ end
9545
+
9215
9546
  class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
9216
9547
  # @private
9217
9548
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9559,6 +9890,7 @@ module Google
9559
9890
  # @private
9560
9891
  class Representation < Google::Apis::Core::JsonRepresentation
9561
9892
  property :description, as: 'description'
9893
+ property :document, as: 'document'
9562
9894
  property :enabled, as: 'enabled'
9563
9895
  property :image_uri, as: 'imageUri'
9564
9896
  property :title, as: 'title'
@@ -4038,6 +4038,46 @@ module Google
4038
4038
  execute_or_queue_command(command, &block)
4039
4039
  end
4040
4040
 
4041
+ # Starts asynchronous cancellation on a long-running operation. The server makes
4042
+ # a best effort to cancel the operation, but success is not guaranteed. If the
4043
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
4044
+ # Clients can use Operations.GetOperation or other methods to check whether the
4045
+ # cancellation succeeded or whether the operation completed despite cancellation.
4046
+ # On successful cancellation, the operation is not deleted; instead, it becomes
4047
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
4048
+ # , corresponding to `Code.CANCELLED`.
4049
+ # @param [String] name
4050
+ # The name of the operation resource to be cancelled.
4051
+ # @param [Google::Apis::DiscoveryengineV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
4052
+ # @param [String] fields
4053
+ # Selector specifying which fields to include in a partial response.
4054
+ # @param [String] quota_user
4055
+ # Available to use for quota purposes for server-side applications. Can be any
4056
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4057
+ # @param [Google::Apis::RequestOptions] options
4058
+ # Request-specific options
4059
+ #
4060
+ # @yield [result, err] Result & error if block supplied
4061
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty] parsed result object
4062
+ # @yieldparam err [StandardError] error object if request failed
4063
+ #
4064
+ # @return [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty]
4065
+ #
4066
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4067
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4068
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4069
+ def cancel_project_location_collection_engine_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4070
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
4071
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningCancelOperationRequest::Representation
4072
+ command.request_object = google_longrunning_cancel_operation_request_object
4073
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty::Representation
4074
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty
4075
+ command.params['name'] = name unless name.nil?
4076
+ command.query['fields'] = fields unless fields.nil?
4077
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4078
+ execute_or_queue_command(command, &block)
4079
+ end
4080
+
4041
4081
  # Gets the latest state of a long-running operation. Clients can use this method
4042
4082
  # to poll the operation result at intervals as recommended by the API service.
4043
4083
  # @param [String] name
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.32.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.34.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: