google-apis-discoveryengine_v1alpha 0.49.0 → 0.51.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.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240607"
25
+ REVISION = "20240617"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,18 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
331
343
  class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata
332
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
345
 
@@ -388,6 +400,18 @@ module Google
388
400
  include Google::Apis::Core::JsonObjectSupport
389
401
  end
390
402
 
403
+ class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
391
415
  class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
392
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
417
 
@@ -826,6 +850,12 @@ module Google
826
850
  include Google::Apis::Core::JsonObjectSupport
827
851
  end
828
852
 
853
+ class GoogleCloudDiscoveryengineV1alphaCompletionSuggestion
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
829
859
  class GoogleCloudDiscoveryengineV1alphaCondition
830
860
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
861
 
@@ -1258,6 +1288,30 @@ module Google
1258
1288
  include Google::Apis::Core::JsonObjectSupport
1259
1289
  end
1260
1290
 
1291
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1297
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
1298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1299
+
1300
+ include Google::Apis::Core::JsonObjectSupport
1301
+ end
1302
+
1303
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1309
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
1310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1311
+
1312
+ include Google::Apis::Core::JsonObjectSupport
1313
+ end
1314
+
1261
1315
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
1262
1316
  class Representation < Google::Apis::Core::JsonRepresentation; end
1263
1317
 
@@ -1342,6 +1396,12 @@ module Google
1342
1396
  include Google::Apis::Core::JsonObjectSupport
1343
1397
  end
1344
1398
 
1399
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
1400
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1401
+
1402
+ include Google::Apis::Core::JsonObjectSupport
1403
+ end
1404
+
1345
1405
  class GoogleCloudDiscoveryengineV1alphaListChunksResponse
1346
1406
  class Representation < Google::Apis::Core::JsonRepresentation; end
1347
1407
 
@@ -1468,6 +1528,24 @@ module Google
1468
1528
  include Google::Apis::Core::JsonObjectSupport
1469
1529
  end
1470
1530
 
1531
+ class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata
1532
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1533
+
1534
+ include Google::Apis::Core::JsonObjectSupport
1535
+ end
1536
+
1537
+ class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
1538
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1539
+
1540
+ include Google::Apis::Core::JsonObjectSupport
1541
+ end
1542
+
1543
+ class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse
1544
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1545
+
1546
+ include Google::Apis::Core::JsonObjectSupport
1547
+ end
1548
+
1471
1549
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
1472
1550
  class Representation < Google::Apis::Core::JsonRepresentation; end
1473
1551
 
@@ -1774,6 +1852,12 @@ module Google
1774
1852
  include Google::Apis::Core::JsonObjectSupport
1775
1853
  end
1776
1854
 
1855
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
1856
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1857
+
1858
+ include Google::Apis::Core::JsonObjectSupport
1859
+ end
1860
+
1777
1861
  class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec
1778
1862
  class Representation < Google::Apis::Core::JsonRepresentation; end
1779
1863
 
@@ -2248,6 +2332,18 @@ module Google
2248
2332
  include Google::Apis::Core::JsonObjectSupport
2249
2333
  end
2250
2334
 
2335
+ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
2336
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2337
+
2338
+ include Google::Apis::Core::JsonObjectSupport
2339
+ end
2340
+
2341
+ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse
2342
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2343
+
2344
+ include Google::Apis::Core::JsonObjectSupport
2345
+ end
2346
+
2251
2347
  class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
2252
2348
  class Representation < Google::Apis::Core::JsonRepresentation; end
2253
2349
 
@@ -2290,6 +2386,12 @@ module Google
2290
2386
  include Google::Apis::Core::JsonObjectSupport
2291
2387
  end
2292
2388
 
2389
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
2390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2391
+
2392
+ include Google::Apis::Core::JsonObjectSupport
2393
+ end
2394
+
2293
2395
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
2294
2396
  class Representation < Google::Apis::Core::JsonRepresentation; end
2295
2397
 
@@ -2924,6 +3026,26 @@ module Google
2924
3026
  end
2925
3027
  end
2926
3028
 
3029
+ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
3030
+ # @private
3031
+ class Representation < Google::Apis::Core::JsonRepresentation
3032
+ property :create_time, as: 'createTime'
3033
+ property :failure_count, :numeric_string => true, as: 'failureCount'
3034
+ property :success_count, :numeric_string => true, as: 'successCount'
3035
+ property :update_time, as: 'updateTime'
3036
+ end
3037
+ end
3038
+
3039
+ class GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse
3040
+ # @private
3041
+ class Representation < Google::Apis::Core::JsonRepresentation
3042
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ImportErrorConfig::Representation
3043
+
3044
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
3045
+
3046
+ end
3047
+ end
3048
+
2927
3049
  class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata
2928
3050
  # @private
2929
3051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3020,6 +3142,23 @@ module Google
3020
3142
  end
3021
3143
  end
3022
3144
 
3145
+ class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata
3146
+ # @private
3147
+ class Representation < Google::Apis::Core::JsonRepresentation
3148
+ property :create_time, as: 'createTime'
3149
+ property :update_time, as: 'updateTime'
3150
+ end
3151
+ end
3152
+
3153
+ class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse
3154
+ # @private
3155
+ class Representation < Google::Apis::Core::JsonRepresentation
3156
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
3157
+
3158
+ property :purge_succeeded, as: 'purgeSucceeded'
3159
+ end
3160
+ end
3161
+
3023
3162
  class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
3024
3163
  # @private
3025
3164
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3748,6 +3887,19 @@ module Google
3748
3887
  end
3749
3888
  end
3750
3889
 
3890
+ class GoogleCloudDiscoveryengineV1alphaCompletionSuggestion
3891
+ # @private
3892
+ class Representation < Google::Apis::Core::JsonRepresentation
3893
+ collection :alternative_phrases, as: 'alternativePhrases'
3894
+ property :frequency, :numeric_string => true, as: 'frequency'
3895
+ property :global_score, as: 'globalScore'
3896
+ property :group_id, as: 'groupId'
3897
+ property :group_score, as: 'groupScore'
3898
+ property :language_code, as: 'languageCode'
3899
+ property :suggestion, as: 'suggestion'
3900
+ end
3901
+ end
3902
+
3751
3903
  class GoogleCloudDiscoveryengineV1alphaCondition
3752
3904
  # @private
3753
3905
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3970,6 +4122,8 @@ module Google
3970
4122
  property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
3971
4123
 
3972
4124
  property :industry_vertical, as: 'industryVertical'
4125
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLanguageInfo::Representation
4126
+
3973
4127
  property :name, as: 'name'
3974
4128
  collection :solution_types, as: 'solutionTypes'
3975
4129
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema::Representation
@@ -4429,6 +4583,48 @@ module Google
4429
4583
  end
4430
4584
  end
4431
4585
 
4586
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
4587
+ # @private
4588
+ class Representation < Google::Apis::Core::JsonRepresentation
4589
+ property :create_time, as: 'createTime'
4590
+ property :failure_count, :numeric_string => true, as: 'failureCount'
4591
+ property :success_count, :numeric_string => true, as: 'successCount'
4592
+ property :update_time, as: 'updateTime'
4593
+ end
4594
+ end
4595
+
4596
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest
4597
+ # @private
4598
+ class Representation < Google::Apis::Core::JsonRepresentation
4599
+ property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource::Representation
4600
+
4601
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
4602
+
4603
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource::Representation
4604
+
4605
+ property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource::Representation
4606
+
4607
+ end
4608
+ end
4609
+
4610
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequestInlineSource
4611
+ # @private
4612
+ class Representation < Google::Apis::Core::JsonRepresentation
4613
+ collection :suggestions, as: 'suggestions', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompletionSuggestion, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompletionSuggestion::Representation
4614
+
4615
+ end
4616
+ end
4617
+
4618
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
4619
+ # @private
4620
+ class Representation < Google::Apis::Core::JsonRepresentation
4621
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
4622
+
4623
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
4624
+
4625
+ end
4626
+ end
4627
+
4432
4628
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
4433
4629
  # @private
4434
4630
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4585,6 +4781,16 @@ module Google
4585
4781
  end
4586
4782
  end
4587
4783
 
4784
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
4785
+ # @private
4786
+ class Representation < Google::Apis::Core::JsonRepresentation
4787
+ property :language, as: 'language'
4788
+ property :language_code, as: 'languageCode'
4789
+ property :normalized_language_code, as: 'normalizedLanguageCode'
4790
+ property :region, as: 'region'
4791
+ end
4792
+ end
4793
+
4588
4794
  class GoogleCloudDiscoveryengineV1alphaListChunksResponse
4589
4795
  # @private
4590
4796
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4770,6 +4976,29 @@ module Google
4770
4976
  end
4771
4977
  end
4772
4978
 
4979
+ class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata
4980
+ # @private
4981
+ class Representation < Google::Apis::Core::JsonRepresentation
4982
+ property :create_time, as: 'createTime'
4983
+ property :update_time, as: 'updateTime'
4984
+ end
4985
+ end
4986
+
4987
+ class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest
4988
+ # @private
4989
+ class Representation < Google::Apis::Core::JsonRepresentation
4990
+ end
4991
+ end
4992
+
4993
+ class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse
4994
+ # @private
4995
+ class Representation < Google::Apis::Core::JsonRepresentation
4996
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
4997
+
4998
+ property :purge_succeeded, as: 'purgeSucceeded'
4999
+ end
5000
+ end
5001
+
4773
5002
  class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
4774
5003
  # @private
4775
5004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5098,6 +5327,7 @@ module Google
5098
5327
  property :filter, as: 'filter'
5099
5328
  property :image_query, as: 'imageQuery', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery::Representation
5100
5329
 
5330
+ property :language_code, as: 'languageCode'
5101
5331
  property :offset, as: 'offset'
5102
5332
  property :order_by, as: 'orderBy'
5103
5333
  property :page_size, as: 'pageSize'
@@ -5107,7 +5337,11 @@ module Google
5107
5337
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec::Representation
5108
5338
 
5109
5339
  property :ranking_expression, as: 'rankingExpression'
5340
+ property :region_code, as: 'regionCode'
5341
+ property :relevance_threshold, as: 'relevanceThreshold'
5110
5342
  property :safe_search, as: 'safeSearch'
5343
+ property :search_as_you_type_spec, as: 'searchAsYouTypeSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec::Representation
5344
+
5111
5345
  property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec::Representation
5112
5346
 
5113
5347
  property :user_info, as: 'userInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserInfo::Representation
@@ -5290,6 +5524,13 @@ module Google
5290
5524
  end
5291
5525
  end
5292
5526
 
5527
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
5528
+ # @private
5529
+ class Representation < Google::Apis::Core::JsonRepresentation
5530
+ property :condition, as: 'condition'
5531
+ end
5532
+ end
5533
+
5293
5534
  class GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec
5294
5535
  # @private
5295
5536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5891,6 +6132,8 @@ module Google
5891
6132
  property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
5892
6133
 
5893
6134
  property :industry_vertical, as: 'industryVertical'
6135
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaLanguageInfo::Representation
6136
+
5894
6137
  property :name, as: 'name'
5895
6138
  collection :solution_types, as: 'solutionTypes'
5896
6139
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSchema::Representation
@@ -6081,6 +6324,26 @@ module Google
6081
6324
  end
6082
6325
  end
6083
6326
 
6327
+ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
6328
+ # @private
6329
+ class Representation < Google::Apis::Core::JsonRepresentation
6330
+ property :create_time, as: 'createTime'
6331
+ property :failure_count, :numeric_string => true, as: 'failureCount'
6332
+ property :success_count, :numeric_string => true, as: 'successCount'
6333
+ property :update_time, as: 'updateTime'
6334
+ end
6335
+ end
6336
+
6337
+ class GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse
6338
+ # @private
6339
+ class Representation < Google::Apis::Core::JsonRepresentation
6340
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
6341
+
6342
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
6343
+
6344
+ end
6345
+ end
6346
+
6084
6347
  class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
6085
6348
  # @private
6086
6349
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6149,6 +6412,16 @@ module Google
6149
6412
  end
6150
6413
  end
6151
6414
 
6415
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
6416
+ # @private
6417
+ class Representation < Google::Apis::Core::JsonRepresentation
6418
+ property :language, as: 'language'
6419
+ property :language_code, as: 'languageCode'
6420
+ property :normalized_language_code, as: 'normalizedLanguageCode'
6421
+ property :region, as: 'region'
6422
+ end
6423
+ end
6424
+
6152
6425
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
6153
6426
  # @private
6154
6427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1252,6 +1252,75 @@ module Google
1252
1252
  execute_or_queue_command(command, &block)
1253
1253
  end
1254
1254
 
1255
+ # Imports CompletionSuggestions for a DataStore.
1256
+ # @param [String] parent
1257
+ # Required. The parent data store resource name for which to import customer
1258
+ # autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*
1259
+ # /dataStores/*`
1260
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest] google_cloud_discoveryengine_v1alpha_import_completion_suggestions_request_object
1261
+ # @param [String] fields
1262
+ # Selector specifying which fields to include in a partial response.
1263
+ # @param [String] quota_user
1264
+ # Available to use for quota purposes for server-side applications. Can be any
1265
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1266
+ # @param [Google::Apis::RequestOptions] options
1267
+ # Request-specific options
1268
+ #
1269
+ # @yield [result, err] Result & error if block supplied
1270
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1271
+ # @yieldparam err [StandardError] error object if request failed
1272
+ #
1273
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1274
+ #
1275
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1276
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1277
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1278
+ def import_project_location_collection_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1alpha_import_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1279
+ command = make_simple_command(:post, 'v1alpha/{+parent}/completionSuggestions:import', options)
1280
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest::Representation
1281
+ command.request_object = google_cloud_discoveryengine_v1alpha_import_completion_suggestions_request_object
1282
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1283
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1284
+ command.params['parent'] = parent unless parent.nil?
1285
+ command.query['fields'] = fields unless fields.nil?
1286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1287
+ execute_or_queue_command(command, &block)
1288
+ end
1289
+
1290
+ # Permanently deletes all CompletionSuggestions for a DataStore.
1291
+ # @param [String] parent
1292
+ # Required. The parent data store resource name for which to purge completion
1293
+ # suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
1294
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest] google_cloud_discoveryengine_v1alpha_purge_completion_suggestions_request_object
1295
+ # @param [String] fields
1296
+ # Selector specifying which fields to include in a partial response.
1297
+ # @param [String] quota_user
1298
+ # Available to use for quota purposes for server-side applications. Can be any
1299
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1300
+ # @param [Google::Apis::RequestOptions] options
1301
+ # Request-specific options
1302
+ #
1303
+ # @yield [result, err] Result & error if block supplied
1304
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1305
+ # @yieldparam err [StandardError] error object if request failed
1306
+ #
1307
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1308
+ #
1309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1312
+ def purge_project_location_collection_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1alpha_purge_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1313
+ command = make_simple_command(:post, 'v1alpha/{+parent}/completionSuggestions:purge', options)
1314
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest::Representation
1315
+ command.request_object = google_cloud_discoveryengine_v1alpha_purge_completion_suggestions_request_object
1316
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1317
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1318
+ command.params['parent'] = parent unless parent.nil?
1319
+ command.query['fields'] = fields unless fields.nil?
1320
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1321
+ execute_or_queue_command(command, &block)
1322
+ end
1323
+
1255
1324
  # Creates a Control. By default 1000 controls are allowed for a data store. A
1256
1325
  # request can be submitted to adjust this limit. If the Control to create
1257
1326
  # already exists, an ALREADY_EXISTS error is returned.
@@ -5532,6 +5601,75 @@ module Google
5532
5601
  execute_or_queue_command(command, &block)
5533
5602
  end
5534
5603
 
5604
+ # Imports CompletionSuggestions for a DataStore.
5605
+ # @param [String] parent
5606
+ # Required. The parent data store resource name for which to import customer
5607
+ # autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*
5608
+ # /dataStores/*`
5609
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest] google_cloud_discoveryengine_v1alpha_import_completion_suggestions_request_object
5610
+ # @param [String] fields
5611
+ # Selector specifying which fields to include in a partial response.
5612
+ # @param [String] quota_user
5613
+ # Available to use for quota purposes for server-side applications. Can be any
5614
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5615
+ # @param [Google::Apis::RequestOptions] options
5616
+ # Request-specific options
5617
+ #
5618
+ # @yield [result, err] Result & error if block supplied
5619
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
5620
+ # @yieldparam err [StandardError] error object if request failed
5621
+ #
5622
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
5623
+ #
5624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5627
+ def import_project_location_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1alpha_import_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5628
+ command = make_simple_command(:post, 'v1alpha/{+parent}/completionSuggestions:import', options)
5629
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsRequest::Representation
5630
+ command.request_object = google_cloud_discoveryengine_v1alpha_import_completion_suggestions_request_object
5631
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
5632
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
5633
+ command.params['parent'] = parent unless parent.nil?
5634
+ command.query['fields'] = fields unless fields.nil?
5635
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5636
+ execute_or_queue_command(command, &block)
5637
+ end
5638
+
5639
+ # Permanently deletes all CompletionSuggestions for a DataStore.
5640
+ # @param [String] parent
5641
+ # Required. The parent data store resource name for which to purge completion
5642
+ # suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
5643
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest] google_cloud_discoveryengine_v1alpha_purge_completion_suggestions_request_object
5644
+ # @param [String] fields
5645
+ # Selector specifying which fields to include in a partial response.
5646
+ # @param [String] quota_user
5647
+ # Available to use for quota purposes for server-side applications. Can be any
5648
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5649
+ # @param [Google::Apis::RequestOptions] options
5650
+ # Request-specific options
5651
+ #
5652
+ # @yield [result, err] Result & error if block supplied
5653
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
5654
+ # @yieldparam err [StandardError] error object if request failed
5655
+ #
5656
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
5657
+ #
5658
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5659
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5660
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5661
+ def purge_project_location_data_store_completion_suggestion(parent, google_cloud_discoveryengine_v1alpha_purge_completion_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5662
+ command = make_simple_command(:post, 'v1alpha/{+parent}/completionSuggestions:purge', options)
5663
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsRequest::Representation
5664
+ command.request_object = google_cloud_discoveryengine_v1alpha_purge_completion_suggestions_request_object
5665
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
5666
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
5667
+ command.params['parent'] = parent unless parent.nil?
5668
+ command.query['fields'] = fields unless fields.nil?
5669
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5670
+ execute_or_queue_command(command, &block)
5671
+ end
5672
+
5535
5673
  # Creates a Control. By default 1000 controls are allowed for a data store. A
5536
5674
  # request can be submitted to adjust this limit. If the Control to create
5537
5675
  # already exists, an ALREADY_EXISTS error is returned.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-09 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []