google-apis-discoveryengine_v1alpha 0.26.0 → 0.28.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 DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231026"
25
+ REVISION = "20231110"
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 GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -208,6 +220,24 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class GoogleCloudDiscoveryengineV1alphaDataStore
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
211
241
  class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata
212
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
243
 
@@ -238,6 +268,66 @@ module Google
238
268
  include Google::Apis::Core::JsonObjectSupport
239
269
  end
240
270
 
271
+ class GoogleCloudDiscoveryengineV1alphaEngine
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
241
331
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
242
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
333
 
@@ -316,12 +406,24 @@ module Google
316
406
  include Google::Apis::Core::JsonObjectSupport
317
407
  end
318
408
 
409
+ class GoogleCloudDiscoveryengineV1alphaListDataStoresResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
319
415
  class GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
320
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
417
 
322
418
  include Google::Apis::Core::JsonObjectSupport
323
419
  end
324
420
 
421
+ class GoogleCloudDiscoveryengineV1alphaListEnginesResponse
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
325
427
  class GoogleCloudDiscoveryengineV1alphaListSchemasResponse
326
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
429
 
@@ -358,6 +460,12 @@ module Google
358
460
  include Google::Apis::Core::JsonObjectSupport
359
461
  end
360
462
 
463
+ class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
361
469
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
362
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
471
 
@@ -454,6 +562,12 @@ module Google
454
562
  include Google::Apis::Core::JsonObjectSupport
455
563
  end
456
564
 
565
+ class GoogleCloudDiscoveryengineV1alphaResumeEngineRequest
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
457
571
  class GoogleCloudDiscoveryengineV1alphaSchema
458
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
573
 
@@ -646,6 +760,24 @@ module Google
646
760
  include Google::Apis::Core::JsonObjectSupport
647
761
  end
648
762
 
763
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineResponse
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
649
781
  class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata
650
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
783
 
@@ -1105,6 +1237,22 @@ module Google
1105
1237
  end
1106
1238
  end
1107
1239
 
1240
+ class GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata
1241
+ # @private
1242
+ class Representation < Google::Apis::Core::JsonRepresentation
1243
+ property :create_time, as: 'createTime'
1244
+ property :update_time, as: 'updateTime'
1245
+ end
1246
+ end
1247
+
1248
+ class GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata
1249
+ # @private
1250
+ class Representation < Google::Apis::Core::JsonRepresentation
1251
+ property :create_time, as: 'createTime'
1252
+ property :update_time, as: 'updateTime'
1253
+ end
1254
+ end
1255
+
1108
1256
  class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata
1109
1257
  # @private
1110
1258
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1121,6 +1269,35 @@ module Google
1121
1269
  end
1122
1270
  end
1123
1271
 
1272
+ class GoogleCloudDiscoveryengineV1alphaDataStore
1273
+ # @private
1274
+ class Representation < Google::Apis::Core::JsonRepresentation
1275
+ property :content_config, as: 'contentConfig'
1276
+ property :create_time, as: 'createTime'
1277
+ property :default_schema_id, as: 'defaultSchemaId'
1278
+ property :display_name, as: 'displayName'
1279
+ property :industry_vertical, as: 'industryVertical'
1280
+ property :name, as: 'name'
1281
+ collection :solution_types, as: 'solutionTypes'
1282
+ end
1283
+ end
1284
+
1285
+ class GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata
1286
+ # @private
1287
+ class Representation < Google::Apis::Core::JsonRepresentation
1288
+ property :create_time, as: 'createTime'
1289
+ property :update_time, as: 'updateTime'
1290
+ end
1291
+ end
1292
+
1293
+ class GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata
1294
+ # @private
1295
+ class Representation < Google::Apis::Core::JsonRepresentation
1296
+ property :create_time, as: 'createTime'
1297
+ property :update_time, as: 'updateTime'
1298
+ end
1299
+ end
1300
+
1124
1301
  class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata
1125
1302
  # @private
1126
1303
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1171,6 +1348,108 @@ module Google
1171
1348
  end
1172
1349
  end
1173
1350
 
1351
+ class GoogleCloudDiscoveryengineV1alphaEngine
1352
+ # @private
1353
+ class Representation < Google::Apis::Core::JsonRepresentation
1354
+ property :chat_engine_config, as: 'chatEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::Representation
1355
+
1356
+ property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation
1357
+
1358
+ property :common_config, as: 'commonConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig::Representation
1359
+
1360
+ property :create_time, as: 'createTime'
1361
+ collection :data_store_ids, as: 'dataStoreIds'
1362
+ property :display_name, as: 'displayName'
1363
+ property :industry_vertical, as: 'industryVertical'
1364
+ property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig::Representation
1365
+
1366
+ property :name, as: 'name'
1367
+ property :recommendation_metadata, as: 'recommendationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata::Representation
1368
+
1369
+ property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig::Representation
1370
+
1371
+ property :similar_documents_config, as: 'similarDocumentsConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig::Representation
1372
+
1373
+ property :solution_type, as: 'solutionType'
1374
+ property :update_time, as: 'updateTime'
1375
+ end
1376
+ end
1377
+
1378
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
1379
+ # @private
1380
+ class Representation < Google::Apis::Core::JsonRepresentation
1381
+ property :agent_creation_config, as: 'agentCreationConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig::Representation
1382
+
1383
+ property :dialogflow_agent_to_link, as: 'dialogflowAgentToLink'
1384
+ end
1385
+ end
1386
+
1387
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
1388
+ # @private
1389
+ class Representation < Google::Apis::Core::JsonRepresentation
1390
+ property :business, as: 'business'
1391
+ property :default_language_code, as: 'defaultLanguageCode'
1392
+ property :time_zone, as: 'timeZone'
1393
+ end
1394
+ end
1395
+
1396
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata
1397
+ # @private
1398
+ class Representation < Google::Apis::Core::JsonRepresentation
1399
+ property :dialogflow_agent, as: 'dialogflowAgent'
1400
+ end
1401
+ end
1402
+
1403
+ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig
1404
+ # @private
1405
+ class Representation < Google::Apis::Core::JsonRepresentation
1406
+ property :company_name, as: 'companyName'
1407
+ end
1408
+ end
1409
+
1410
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
1411
+ # @private
1412
+ class Representation < Google::Apis::Core::JsonRepresentation
1413
+ property :optimization_objective, as: 'optimizationObjective'
1414
+ property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
1415
+
1416
+ property :training_state, as: 'trainingState'
1417
+ property :type, as: 'type'
1418
+ end
1419
+ end
1420
+
1421
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
1422
+ # @private
1423
+ class Representation < Google::Apis::Core::JsonRepresentation
1424
+ property :target_field, as: 'targetField'
1425
+ property :target_field_value_float, as: 'targetFieldValueFloat'
1426
+ end
1427
+ end
1428
+
1429
+ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
1430
+ # @private
1431
+ class Representation < Google::Apis::Core::JsonRepresentation
1432
+ property :data_state, as: 'dataState'
1433
+ property :last_tune_time, as: 'lastTuneTime'
1434
+ property :serving_state, as: 'servingState'
1435
+ property :tuning_operation, as: 'tuningOperation'
1436
+ end
1437
+ end
1438
+
1439
+ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
1440
+ # @private
1441
+ class Representation < Google::Apis::Core::JsonRepresentation
1442
+ collection :search_add_ons, as: 'searchAddOns'
1443
+ property :search_tier, as: 'searchTier'
1444
+ end
1445
+ end
1446
+
1447
+ class GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig
1448
+ # @private
1449
+ class Representation < Google::Apis::Core::JsonRepresentation
1450
+ end
1451
+ end
1452
+
1174
1453
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
1175
1454
  # @private
1176
1455
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1309,6 +1588,15 @@ module Google
1309
1588
  end
1310
1589
  end
1311
1590
 
1591
+ class GoogleCloudDiscoveryengineV1alphaListDataStoresResponse
1592
+ # @private
1593
+ class Representation < Google::Apis::Core::JsonRepresentation
1594
+ collection :data_stores, as: 'dataStores', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataStore, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataStore::Representation
1595
+
1596
+ property :next_page_token, as: 'nextPageToken'
1597
+ end
1598
+ end
1599
+
1312
1600
  class GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
1313
1601
  # @private
1314
1602
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1318,6 +1606,15 @@ module Google
1318
1606
  end
1319
1607
  end
1320
1608
 
1609
+ class GoogleCloudDiscoveryengineV1alphaListEnginesResponse
1610
+ # @private
1611
+ class Representation < Google::Apis::Core::JsonRepresentation
1612
+ collection :engines, as: 'engines', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngine, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngine::Representation
1613
+
1614
+ property :next_page_token, as: 'nextPageToken'
1615
+ end
1616
+ end
1617
+
1321
1618
  class GoogleCloudDiscoveryengineV1alphaListSchemasResponse
1322
1619
  # @private
1323
1620
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1370,6 +1667,12 @@ module Google
1370
1667
  end
1371
1668
  end
1372
1669
 
1670
+ class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
1671
+ # @private
1672
+ class Representation < Google::Apis::Core::JsonRepresentation
1673
+ end
1674
+ end
1675
+
1373
1676
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
1374
1677
  # @private
1375
1678
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1522,6 +1825,12 @@ module Google
1522
1825
  end
1523
1826
  end
1524
1827
 
1828
+ class GoogleCloudDiscoveryengineV1alphaResumeEngineRequest
1829
+ # @private
1830
+ class Representation < Google::Apis::Core::JsonRepresentation
1831
+ end
1832
+ end
1833
+
1525
1834
  class GoogleCloudDiscoveryengineV1alphaSchema
1526
1835
  # @private
1527
1836
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1548,6 +1857,7 @@ module Google
1548
1857
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
1549
1858
 
1550
1859
  property :branch, as: 'branch'
1860
+ property :canonical_filter, as: 'canonicalFilter'
1551
1861
  property :content_search_spec, as: 'contentSearchSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec::Representation
1552
1862
 
1553
1863
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec::Representation
@@ -1864,6 +2174,25 @@ module Google
1864
2174
  end
1865
2175
  end
1866
2176
 
2177
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata
2178
+ # @private
2179
+ class Representation < Google::Apis::Core::JsonRepresentation
2180
+ property :engine, as: 'engine'
2181
+ end
2182
+ end
2183
+
2184
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
2185
+ # @private
2186
+ class Representation < Google::Apis::Core::JsonRepresentation
2187
+ end
2188
+ end
2189
+
2190
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineResponse
2191
+ # @private
2192
+ class Representation < Google::Apis::Core::JsonRepresentation
2193
+ end
2194
+ end
2195
+
1867
2196
  class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata
1868
2197
  # @private
1869
2198
  class Representation < Google::Apis::Core::JsonRepresentation