google-apis-discoveryengine_v1alpha 0.41.0 → 0.42.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.41.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240318"
25
+ REVISION = "20240329"
26
26
  end
27
27
  end
28
28
  end
@@ -364,18 +364,60 @@ module Google
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
+ class GoogleCloudDiscoveryengineV1alphaBigtableOptions
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudDiscoveryengineV1alphaBigtableSource
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
367
391
  class GoogleCloudDiscoveryengineV1alphaChunk
368
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
393
 
370
394
  include Google::Apis::Core::JsonObjectSupport
371
395
  end
372
396
 
397
+ class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
373
403
  class GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata
374
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
405
 
376
406
  include Google::Apis::Core::JsonObjectSupport
377
407
  end
378
408
 
409
+ class GoogleCloudDiscoveryengineV1alphaChunkPageSpan
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
379
421
  class GoogleCloudDiscoveryengineV1alphaCompleteQueryRequest
380
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
423
 
@@ -724,18 +766,36 @@ module Google
724
766
  include Google::Apis::Core::JsonObjectSupport
725
767
  end
726
768
 
769
+ class GoogleCloudDiscoveryengineV1alphaFhirStoreSource
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
727
775
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
728
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
777
 
730
778
  include Google::Apis::Core::JsonObjectSupport
731
779
  end
732
780
 
781
+ class GoogleCloudDiscoveryengineV1alphaFirestoreSource
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
733
787
  class GoogleCloudDiscoveryengineV1alphaGcsSource
734
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
789
 
736
790
  include Google::Apis::Core::JsonObjectSupport
737
791
  end
738
792
 
793
+ class GoogleCloudDiscoveryengineV1alphaGroundingConfig
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
739
799
  class GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec
740
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
801
 
@@ -754,6 +814,18 @@ module Google
754
814
  include Google::Apis::Core::JsonObjectSupport
755
815
  end
756
816
 
817
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
757
829
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
758
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
831
 
@@ -994,6 +1066,24 @@ module Google
994
1066
  include Google::Apis::Core::JsonObjectSupport
995
1067
  end
996
1068
 
1069
+ class GoogleCloudDiscoveryengineV1alphaRankRequest
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
1075
+ class GoogleCloudDiscoveryengineV1alphaRankResponse
1076
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1077
+
1078
+ include Google::Apis::Core::JsonObjectSupport
1079
+ end
1080
+
1081
+ class GoogleCloudDiscoveryengineV1alphaRankingRecord
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
997
1087
  class GoogleCloudDiscoveryengineV1alphaRecommendRequest
998
1088
  class Representation < Google::Apis::Core::JsonRepresentation; end
999
1089
 
@@ -1096,6 +1186,12 @@ module Google
1096
1186
  include Google::Apis::Core::JsonObjectSupport
1097
1187
  end
1098
1188
 
1189
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1099
1195
  class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec
1100
1196
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1197
 
@@ -1252,6 +1348,12 @@ module Google
1252
1348
  include Google::Apis::Core::JsonObjectSupport
1253
1349
  end
1254
1350
 
1351
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent
1352
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1353
+
1354
+ include Google::Apis::Core::JsonObjectSupport
1355
+ end
1356
+
1255
1357
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes
1256
1358
  class Representation < Google::Apis::Core::JsonRepresentation; end
1257
1359
 
@@ -1294,6 +1396,12 @@ module Google
1294
1396
  include Google::Apis::Core::JsonObjectSupport
1295
1397
  end
1296
1398
 
1399
+ class GoogleCloudDiscoveryengineV1alphaSpannerSource
1400
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1401
+
1402
+ include Google::Apis::Core::JsonObjectSupport
1403
+ end
1404
+
1297
1405
  class GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry
1298
1406
  class Representation < Google::Apis::Core::JsonRepresentation; end
1299
1407
 
@@ -1624,6 +1732,12 @@ module Google
1624
1732
  include Google::Apis::Core::JsonObjectSupport
1625
1733
  end
1626
1734
 
1735
+ class GoogleCloudDiscoveryengineV1betaGroundingConfig
1736
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1737
+
1738
+ include Google::Apis::Core::JsonObjectSupport
1739
+ end
1740
+
1627
1741
  class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
1628
1742
  class Representation < Google::Apis::Core::JsonRepresentation; end
1629
1743
 
@@ -1732,6 +1846,12 @@ module Google
1732
1846
  include Google::Apis::Core::JsonObjectSupport
1733
1847
  end
1734
1848
 
1849
+ class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata
1850
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1851
+
1852
+ include Google::Apis::Core::JsonObjectSupport
1853
+ end
1854
+
1735
1855
  class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
1736
1856
  class Representation < Google::Apis::Core::JsonRepresentation; end
1737
1857
 
@@ -2291,15 +2411,70 @@ module Google
2291
2411
  end
2292
2412
  end
2293
2413
 
2414
+ class GoogleCloudDiscoveryengineV1alphaBigtableOptions
2415
+ # @private
2416
+ class Representation < Google::Apis::Core::JsonRepresentation
2417
+ hash :families, as: 'families', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily::Representation
2418
+
2419
+ property :key_field_name, as: 'keyFieldName'
2420
+ end
2421
+ end
2422
+
2423
+ class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn
2424
+ # @private
2425
+ class Representation < Google::Apis::Core::JsonRepresentation
2426
+ property :encoding, as: 'encoding'
2427
+ property :field_name, as: 'fieldName'
2428
+ property :qualifier, :base64 => true, as: 'qualifier'
2429
+ property :type, as: 'type'
2430
+ end
2431
+ end
2432
+
2433
+ class GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumnFamily
2434
+ # @private
2435
+ class Representation < Google::Apis::Core::JsonRepresentation
2436
+ collection :columns, as: 'columns', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableOptionsBigtableColumn::Representation
2437
+
2438
+ property :encoding, as: 'encoding'
2439
+ property :field_name, as: 'fieldName'
2440
+ property :type, as: 'type'
2441
+ end
2442
+ end
2443
+
2444
+ class GoogleCloudDiscoveryengineV1alphaBigtableSource
2445
+ # @private
2446
+ class Representation < Google::Apis::Core::JsonRepresentation
2447
+ property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableOptions, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableOptions::Representation
2448
+
2449
+ property :instance_id, as: 'instanceId'
2450
+ property :project_id, as: 'projectId'
2451
+ property :table_id, as: 'tableId'
2452
+ end
2453
+ end
2454
+
2294
2455
  class GoogleCloudDiscoveryengineV1alphaChunk
2295
2456
  # @private
2296
2457
  class Representation < Google::Apis::Core::JsonRepresentation
2458
+ property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata::Representation
2459
+
2297
2460
  property :content, as: 'content'
2298
2461
  hash :derived_struct_data, as: 'derivedStructData'
2299
2462
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata::Representation
2300
2463
 
2301
2464
  property :id, as: 'id'
2302
2465
  property :name, as: 'name'
2466
+ property :page_span, as: 'pageSpan', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkPageSpan, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkPageSpan::Representation
2467
+
2468
+ end
2469
+ end
2470
+
2471
+ class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata
2472
+ # @private
2473
+ class Representation < Google::Apis::Core::JsonRepresentation
2474
+ collection :next_chunks, as: 'nextChunks', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk::Representation
2475
+
2476
+ collection :previous_chunks, as: 'previousChunks', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunk::Representation
2477
+
2303
2478
  end
2304
2479
  end
2305
2480
 
@@ -2311,6 +2486,26 @@ module Google
2311
2486
  end
2312
2487
  end
2313
2488
 
2489
+ class GoogleCloudDiscoveryengineV1alphaChunkPageSpan
2490
+ # @private
2491
+ class Representation < Google::Apis::Core::JsonRepresentation
2492
+ property :page_end, as: 'pageEnd'
2493
+ property :page_start, as: 'pageStart'
2494
+ end
2495
+ end
2496
+
2497
+ class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
2498
+ # @private
2499
+ class Representation < Google::Apis::Core::JsonRepresentation
2500
+ property :database_id, as: 'databaseId'
2501
+ property :gcs_staging_dir, as: 'gcsStagingDir'
2502
+ property :instance_id, as: 'instanceId'
2503
+ property :offload, as: 'offload'
2504
+ property :project_id, as: 'projectId'
2505
+ property :table_id, as: 'tableId'
2506
+ end
2507
+ end
2508
+
2314
2509
  class GoogleCloudDiscoveryengineV1alphaCompleteQueryRequest
2315
2510
  # @private
2316
2511
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2853,6 +3048,14 @@ module Google
2853
3048
  end
2854
3049
  end
2855
3050
 
3051
+ class GoogleCloudDiscoveryengineV1alphaFhirStoreSource
3052
+ # @private
3053
+ class Representation < Google::Apis::Core::JsonRepresentation
3054
+ property :fhir_store, as: 'fhirStore'
3055
+ property :gcs_staging_dir, as: 'gcsStagingDir'
3056
+ end
3057
+ end
3058
+
2856
3059
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
2857
3060
  # @private
2858
3061
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2868,6 +3071,16 @@ module Google
2868
3071
  end
2869
3072
  end
2870
3073
 
3074
+ class GoogleCloudDiscoveryengineV1alphaFirestoreSource
3075
+ # @private
3076
+ class Representation < Google::Apis::Core::JsonRepresentation
3077
+ property :collection_id, as: 'collectionId'
3078
+ property :database_id, as: 'databaseId'
3079
+ property :gcs_staging_dir, as: 'gcsStagingDir'
3080
+ property :project_id, as: 'projectId'
3081
+ end
3082
+ end
3083
+
2871
3084
  class GoogleCloudDiscoveryengineV1alphaGcsSource
2872
3085
  # @private
2873
3086
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2876,6 +3089,13 @@ module Google
2876
3089
  end
2877
3090
  end
2878
3091
 
3092
+ class GoogleCloudDiscoveryengineV1alphaGroundingConfig
3093
+ # @private
3094
+ class Representation < Google::Apis::Core::JsonRepresentation
3095
+ property :name, as: 'name'
3096
+ end
3097
+ end
3098
+
2879
3099
  class GoogleCloudDiscoveryengineV1alphaGuidedSearchSpec
2880
3100
  # @private
2881
3101
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2901,6 +3121,24 @@ module Google
2901
3121
  end
2902
3122
  end
2903
3123
 
3124
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
3125
+ # @private
3126
+ class Representation < Google::Apis::Core::JsonRepresentation
3127
+ property :create_time, as: 'createTime'
3128
+ property :update_time, as: 'updateTime'
3129
+ end
3130
+ end
3131
+
3132
+ class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
3133
+ # @private
3134
+ class Representation < Google::Apis::Core::JsonRepresentation
3135
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
3136
+
3137
+ property :failure_count, :numeric_string => true, as: 'failureCount'
3138
+ property :success_count, :numeric_string => true, as: 'successCount'
3139
+ end
3140
+ end
3141
+
2904
3142
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
2905
3143
  # @private
2906
3144
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2917,14 +3155,24 @@ module Google
2917
3155
  property :auto_generate_ids, as: 'autoGenerateIds'
2918
3156
  property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource::Representation
2919
3157
 
3158
+ property :bigtable_source, as: 'bigtableSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigtableSource::Representation
3159
+
3160
+ property :cloud_sql_source, as: 'cloudSqlSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCloudSqlSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCloudSqlSource::Representation
3161
+
2920
3162
  property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
2921
3163
 
3164
+ property :fhir_store_source, as: 'fhirStoreSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFhirStoreSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFhirStoreSource::Representation
3165
+
3166
+ property :firestore_source, as: 'firestoreSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFirestoreSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFirestoreSource::Representation
3167
+
2922
3168
  property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource::Representation
2923
3169
 
2924
3170
  property :id_field, as: 'idField'
2925
3171
  property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource::Representation
2926
3172
 
2927
3173
  property :reconciliation_mode, as: 'reconciliationMode'
3174
+ property :spanner_source, as: 'spannerSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSpannerSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSpannerSource::Representation
3175
+
2928
3176
  end
2929
3177
  end
2930
3178
 
@@ -3267,6 +3515,36 @@ module Google
3267
3515
  end
3268
3516
  end
3269
3517
 
3518
+ class GoogleCloudDiscoveryengineV1alphaRankRequest
3519
+ # @private
3520
+ class Representation < Google::Apis::Core::JsonRepresentation
3521
+ property :ignore_record_details_in_response, as: 'ignoreRecordDetailsInResponse'
3522
+ property :model, as: 'model'
3523
+ property :query, as: 'query'
3524
+ collection :records, as: 'records', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord::Representation
3525
+
3526
+ property :top_n, as: 'topN'
3527
+ end
3528
+ end
3529
+
3530
+ class GoogleCloudDiscoveryengineV1alphaRankResponse
3531
+ # @private
3532
+ class Representation < Google::Apis::Core::JsonRepresentation
3533
+ collection :records, as: 'records', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord::Representation
3534
+
3535
+ end
3536
+ end
3537
+
3538
+ class GoogleCloudDiscoveryengineV1alphaRankingRecord
3539
+ # @private
3540
+ class Representation < Google::Apis::Core::JsonRepresentation
3541
+ property :content, as: 'content'
3542
+ property :id, as: 'id'
3543
+ property :score, as: 'score'
3544
+ property :title, as: 'title'
3545
+ end
3546
+ end
3547
+
3270
3548
  class GoogleCloudDiscoveryengineV1alphaRecommendRequest
3271
3549
  # @private
3272
3550
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3453,6 +3731,8 @@ module Google
3453
3731
  class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec
3454
3732
  # @private
3455
3733
  class Representation < Google::Apis::Core::JsonRepresentation
3734
+ property :chunk_spec, as: 'chunkSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec::Representation
3735
+
3456
3736
  property :extractive_content_spec, as: 'extractiveContentSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec::Representation
3457
3737
 
3458
3738
  property :search_result_mode, as: 'searchResultMode'
@@ -3463,6 +3743,14 @@ module Google
3463
3743
  end
3464
3744
  end
3465
3745
 
3746
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec
3747
+ # @private
3748
+ class Representation < Google::Apis::Core::JsonRepresentation
3749
+ property :num_next_chunks, as: 'numNextChunks'
3750
+ property :num_previous_chunks, as: 'numPreviousChunks'
3751
+ end
3752
+ end
3753
+
3466
3754
  class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec
3467
3755
  # @private
3468
3756
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3713,12 +4001,22 @@ module Google
3713
4001
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
3714
4002
  # @private
3715
4003
  class Representation < Google::Apis::Core::JsonRepresentation
4004
+ collection :chunk_contents, as: 'chunkContents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent::Representation
4005
+
3716
4006
  property :document, as: 'document'
3717
4007
  property :title, as: 'title'
3718
4008
  property :uri, as: 'uri'
3719
4009
  end
3720
4010
  end
3721
4011
 
4012
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent
4013
+ # @private
4014
+ class Representation < Google::Apis::Core::JsonRepresentation
4015
+ property :content, as: 'content'
4016
+ property :page_identifier, as: 'pageIdentifier'
4017
+ end
4018
+ end
4019
+
3722
4020
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributes
3723
4021
  # @private
3724
4022
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3803,6 +4101,17 @@ module Google
3803
4101
  end
3804
4102
  end
3805
4103
 
4104
+ class GoogleCloudDiscoveryengineV1alphaSpannerSource
4105
+ # @private
4106
+ class Representation < Google::Apis::Core::JsonRepresentation
4107
+ property :database_id, as: 'databaseId'
4108
+ property :enable_data_boost, as: 'enableDataBoost'
4109
+ property :instance_id, as: 'instanceId'
4110
+ property :project_id, as: 'projectId'
4111
+ property :table_id, as: 'tableId'
4112
+ end
4113
+ end
4114
+
3806
4115
  class GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry
3807
4116
  # @private
3808
4117
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3888,6 +4197,7 @@ module Google
3888
4197
 
3889
4198
  collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
3890
4199
 
4200
+ hash :metrics, as: 'metrics'
3891
4201
  property :model_status, as: 'modelStatus'
3892
4202
  end
3893
4203
  end
@@ -4027,6 +4337,7 @@ module Google
4027
4337
  property :enable_quality_feedback, as: 'enableQualityFeedback'
4028
4338
  property :enable_result_score, as: 'enableResultScore'
4029
4339
  property :enable_safe_search, as: 'enableSafeSearch'
4340
+ property :enable_search_as_you_type, as: 'enableSearchAsYouType'
4030
4341
  property :enable_snippet_result_summary, as: 'enableSnippetResultSummary'
4031
4342
  property :enable_summarization, as: 'enableSummarization'
4032
4343
  property :enable_web_app, as: 'enableWebApp'
@@ -4357,6 +4668,13 @@ module Google
4357
4668
  end
4358
4669
  end
4359
4670
 
4671
+ class GoogleCloudDiscoveryengineV1betaGroundingConfig
4672
+ # @private
4673
+ class Representation < Google::Apis::Core::JsonRepresentation
4674
+ property :name, as: 'name'
4675
+ end
4676
+ end
4677
+
4360
4678
  class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
4361
4679
  # @private
4362
4680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4524,10 +4842,18 @@ module Google
4524
4842
 
4525
4843
  collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
4526
4844
 
4845
+ hash :metrics, as: 'metrics'
4527
4846
  property :model_status, as: 'modelStatus'
4528
4847
  end
4529
4848
  end
4530
4849
 
4850
+ class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata
4851
+ # @private
4852
+ class Representation < Google::Apis::Core::JsonRepresentation
4853
+ property :engine, as: 'engine'
4854
+ end
4855
+ end
4856
+
4531
4857
  class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
4532
4858
  # @private
4533
4859
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5912,6 +5912,40 @@ module Google
5912
5912
  execute_or_queue_command(command, &block)
5913
5913
  end
5914
5914
 
5915
+ # Ranks a list of text records based on the given input query.
5916
+ # @param [String] ranking_config
5917
+ # Required. The resource name of the rank service config, such as `projects/`
5918
+ # project_num`/locations/`location_id`/rankingConfigs/default_ranking_config`.
5919
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankRequest] google_cloud_discoveryengine_v1alpha_rank_request_object
5920
+ # @param [String] fields
5921
+ # Selector specifying which fields to include in a partial response.
5922
+ # @param [String] quota_user
5923
+ # Available to use for quota purposes for server-side applications. Can be any
5924
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5925
+ # @param [Google::Apis::RequestOptions] options
5926
+ # Request-specific options
5927
+ #
5928
+ # @yield [result, err] Result & error if block supplied
5929
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankResponse] parsed result object
5930
+ # @yieldparam err [StandardError] error object if request failed
5931
+ #
5932
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankResponse]
5933
+ #
5934
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5935
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5936
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5937
+ def rank_project_location_ranking_config(ranking_config, google_cloud_discoveryengine_v1alpha_rank_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5938
+ command = make_simple_command(:post, 'v1alpha/{+rankingConfig}:rank', options)
5939
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankRequest::Representation
5940
+ command.request_object = google_cloud_discoveryengine_v1alpha_rank_request_object
5941
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankResponse::Representation
5942
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankResponse
5943
+ command.params['rankingConfig'] = ranking_config unless ranking_config.nil?
5944
+ command.query['fields'] = fields unless fields.nil?
5945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5946
+ execute_or_queue_command(command, &block)
5947
+ end
5948
+
5915
5949
  # Gets the latest state of a long-running operation. Clients can use this method
5916
5950
  # to poll the operation result at intervals as recommended by the API service.
5917
5951
  # @param [String] name
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.41.0
4
+ version: 0.42.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-03-24 00:00:00.000000000 Z
11
+ date: 2024-03-31 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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.42.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: []