google-apis-discoveryengine_v1alpha 0.25.0 → 0.27.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 DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.27.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 = "20231016"
25
+ REVISION = "20231102"
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,107 @@ 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 :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig::Representation
1364
+
1365
+ property :name, as: 'name'
1366
+ property :recommendation_metadata, as: 'recommendationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata::Representation
1367
+
1368
+ property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig::Representation
1369
+
1370
+ property :similar_documents_config, as: 'similarDocumentsConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig::Representation
1371
+
1372
+ property :solution_type, as: 'solutionType'
1373
+ property :update_time, as: 'updateTime'
1374
+ end
1375
+ end
1376
+
1377
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
1378
+ # @private
1379
+ class Representation < Google::Apis::Core::JsonRepresentation
1380
+ property :agent_creation_config, as: 'agentCreationConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig::Representation
1381
+
1382
+ property :dialogflow_agent_to_link, as: 'dialogflowAgentToLink'
1383
+ end
1384
+ end
1385
+
1386
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
1387
+ # @private
1388
+ class Representation < Google::Apis::Core::JsonRepresentation
1389
+ property :business, as: 'business'
1390
+ property :default_language_code, as: 'defaultLanguageCode'
1391
+ property :time_zone, as: 'timeZone'
1392
+ end
1393
+ end
1394
+
1395
+ class GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata
1396
+ # @private
1397
+ class Representation < Google::Apis::Core::JsonRepresentation
1398
+ property :dialogflow_agent, as: 'dialogflowAgent'
1399
+ end
1400
+ end
1401
+
1402
+ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :company_name, as: 'companyName'
1406
+ end
1407
+ end
1408
+
1409
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
1410
+ # @private
1411
+ class Representation < Google::Apis::Core::JsonRepresentation
1412
+ property :optimization_objective, as: 'optimizationObjective'
1413
+ property :optimization_objective_config, as: 'optimizationObjectiveConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig::Representation
1414
+
1415
+ property :training_state, as: 'trainingState'
1416
+ property :type, as: 'type'
1417
+ end
1418
+ end
1419
+
1420
+ class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
1421
+ # @private
1422
+ class Representation < Google::Apis::Core::JsonRepresentation
1423
+ property :target_field, as: 'targetField'
1424
+ property :target_field_value_float, as: 'targetFieldValueFloat'
1425
+ end
1426
+ end
1427
+
1428
+ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
1429
+ # @private
1430
+ class Representation < Google::Apis::Core::JsonRepresentation
1431
+ property :data_state, as: 'dataState'
1432
+ property :last_tune_time, as: 'lastTuneTime'
1433
+ property :serving_state, as: 'servingState'
1434
+ property :tuning_operation, as: 'tuningOperation'
1435
+ end
1436
+ end
1437
+
1438
+ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
1439
+ # @private
1440
+ class Representation < Google::Apis::Core::JsonRepresentation
1441
+ collection :search_add_ons, as: 'searchAddOns'
1442
+ property :search_tier, as: 'searchTier'
1443
+ end
1444
+ end
1445
+
1446
+ class GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig
1447
+ # @private
1448
+ class Representation < Google::Apis::Core::JsonRepresentation
1449
+ end
1450
+ end
1451
+
1174
1452
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
1175
1453
  # @private
1176
1454
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1309,6 +1587,15 @@ module Google
1309
1587
  end
1310
1588
  end
1311
1589
 
1590
+ class GoogleCloudDiscoveryengineV1alphaListDataStoresResponse
1591
+ # @private
1592
+ class Representation < Google::Apis::Core::JsonRepresentation
1593
+ collection :data_stores, as: 'dataStores', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataStore, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataStore::Representation
1594
+
1595
+ property :next_page_token, as: 'nextPageToken'
1596
+ end
1597
+ end
1598
+
1312
1599
  class GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
1313
1600
  # @private
1314
1601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1318,6 +1605,15 @@ module Google
1318
1605
  end
1319
1606
  end
1320
1607
 
1608
+ class GoogleCloudDiscoveryengineV1alphaListEnginesResponse
1609
+ # @private
1610
+ class Representation < Google::Apis::Core::JsonRepresentation
1611
+ collection :engines, as: 'engines', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngine, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngine::Representation
1612
+
1613
+ property :next_page_token, as: 'nextPageToken'
1614
+ end
1615
+ end
1616
+
1321
1617
  class GoogleCloudDiscoveryengineV1alphaListSchemasResponse
1322
1618
  # @private
1323
1619
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1370,6 +1666,12 @@ module Google
1370
1666
  end
1371
1667
  end
1372
1668
 
1669
+ class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest
1670
+ # @private
1671
+ class Representation < Google::Apis::Core::JsonRepresentation
1672
+ end
1673
+ end
1674
+
1373
1675
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
1374
1676
  # @private
1375
1677
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1522,6 +1824,12 @@ module Google
1522
1824
  end
1523
1825
  end
1524
1826
 
1827
+ class GoogleCloudDiscoveryengineV1alphaResumeEngineRequest
1828
+ # @private
1829
+ class Representation < Google::Apis::Core::JsonRepresentation
1830
+ end
1831
+ end
1832
+
1525
1833
  class GoogleCloudDiscoveryengineV1alphaSchema
1526
1834
  # @private
1527
1835
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1864,6 +2172,25 @@ module Google
1864
2172
  end
1865
2173
  end
1866
2174
 
2175
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata
2176
+ # @private
2177
+ class Representation < Google::Apis::Core::JsonRepresentation
2178
+ property :engine, as: 'engine'
2179
+ end
2180
+ end
2181
+
2182
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineRequest
2183
+ # @private
2184
+ class Representation < Google::Apis::Core::JsonRepresentation
2185
+ end
2186
+ end
2187
+
2188
+ class GoogleCloudDiscoveryengineV1alphaTuneEngineResponse
2189
+ # @private
2190
+ class Representation < Google::Apis::Core::JsonRepresentation
2191
+ end
2192
+ end
2193
+
1867
2194
  class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata
1868
2195
  # @private
1869
2196
  class Representation < Google::Apis::Core::JsonRepresentation