google-apis-discoveryengine_v1beta 0.73.0 → 0.75.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 DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.73.0"
19
+ GEM_VERSION = "0.75.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250706"
25
+ REVISION = "20250724"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class GoogleCloudDiscoveryengineV1Assistant
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -2356,6 +2362,90 @@ module Google
2356
2362
  include Google::Apis::Core::JsonObjectSupport
2357
2363
  end
2358
2364
 
2365
+ class GoogleCloudDiscoveryengineV1betaAssistAnswer
2366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2367
+
2368
+ include Google::Apis::Core::JsonObjectSupport
2369
+ end
2370
+
2371
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
2372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2373
+
2374
+ include Google::Apis::Core::JsonObjectSupport
2375
+ end
2376
+
2377
+ class GoogleCloudDiscoveryengineV1betaAssistUserMetadata
2378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2379
+
2380
+ include Google::Apis::Core::JsonObjectSupport
2381
+ end
2382
+
2383
+ class GoogleCloudDiscoveryengineV1betaAssistant
2384
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2385
+
2386
+ include Google::Apis::Core::JsonObjectSupport
2387
+ end
2388
+
2389
+ class GoogleCloudDiscoveryengineV1betaAssistantContent
2390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2391
+
2392
+ include Google::Apis::Core::JsonObjectSupport
2393
+ end
2394
+
2395
+ class GoogleCloudDiscoveryengineV1betaAssistantContentBlob
2396
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2397
+
2398
+ include Google::Apis::Core::JsonObjectSupport
2399
+ end
2400
+
2401
+ class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
2402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2403
+
2404
+ include Google::Apis::Core::JsonObjectSupport
2405
+ end
2406
+
2407
+ class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode
2408
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2409
+
2410
+ include Google::Apis::Core::JsonObjectSupport
2411
+ end
2412
+
2413
+ class GoogleCloudDiscoveryengineV1betaAssistantContentFile
2414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2415
+
2416
+ include Google::Apis::Core::JsonObjectSupport
2417
+ end
2418
+
2419
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
2420
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2421
+
2422
+ include Google::Apis::Core::JsonObjectSupport
2423
+ end
2424
+
2425
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
2426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2427
+
2428
+ include Google::Apis::Core::JsonObjectSupport
2429
+ end
2430
+
2431
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
2432
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2433
+
2434
+ include Google::Apis::Core::JsonObjectSupport
2435
+ end
2436
+
2437
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
2438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2439
+
2440
+ include Google::Apis::Core::JsonObjectSupport
2441
+ end
2442
+
2443
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment
2444
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2445
+
2446
+ include Google::Apis::Core::JsonObjectSupport
2447
+ end
2448
+
2359
2449
  class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
2360
2450
  class Representation < Google::Apis::Core::JsonRepresentation; end
2361
2451
 
@@ -3400,6 +3490,12 @@ module Google
3400
3490
  include Google::Apis::Core::JsonObjectSupport
3401
3491
  end
3402
3492
 
3493
+ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams
3494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3495
+
3496
+ include Google::Apis::Core::JsonObjectSupport
3497
+ end
3498
+
3403
3499
  class GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest
3404
3500
  class Representation < Google::Apis::Core::JsonRepresentation; end
3405
3501
 
@@ -4036,6 +4132,60 @@ module Google
4036
4132
  include Google::Apis::Core::JsonObjectSupport
4037
4133
  end
4038
4134
 
4135
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
4136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4137
+
4138
+ include Google::Apis::Core::JsonObjectSupport
4139
+ end
4140
+
4141
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
4142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4143
+
4144
+ include Google::Apis::Core::JsonObjectSupport
4145
+ end
4146
+
4147
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
4148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4149
+
4150
+ include Google::Apis::Core::JsonObjectSupport
4151
+ end
4152
+
4153
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
4154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4155
+
4156
+ include Google::Apis::Core::JsonObjectSupport
4157
+ end
4158
+
4159
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
4160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4161
+
4162
+ include Google::Apis::Core::JsonObjectSupport
4163
+ end
4164
+
4165
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
4166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4167
+
4168
+ include Google::Apis::Core::JsonObjectSupport
4169
+ end
4170
+
4171
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
4172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4173
+
4174
+ include Google::Apis::Core::JsonObjectSupport
4175
+ end
4176
+
4177
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponse
4178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4179
+
4180
+ include Google::Apis::Core::JsonObjectSupport
4181
+ end
4182
+
4183
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
4184
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4185
+
4186
+ include Google::Apis::Core::JsonObjectSupport
4187
+ end
4188
+
4039
4189
  class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry
4040
4190
  class Representation < Google::Apis::Core::JsonRepresentation; end
4041
4191
 
@@ -4429,6 +4579,13 @@ module Google
4429
4579
  end
4430
4580
  end
4431
4581
 
4582
+ class GoogleCloudDiscoveryengineV1Assistant
4583
+ # @private
4584
+ class Representation < Google::Apis::Core::JsonRepresentation
4585
+ property :name, as: 'name'
4586
+ end
4587
+ end
4588
+
4432
4589
  class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
4433
4590
  # @private
4434
4591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4804,6 +4961,7 @@ module Google
4804
4961
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
4805
4962
  # @private
4806
4963
  class Representation < Google::Apis::Core::JsonRepresentation
4964
+ property :enable_get_processed_document, as: 'enableGetProcessedDocument'
4807
4965
  property :enable_image_annotation, as: 'enableImageAnnotation'
4808
4966
  property :enable_table_annotation, as: 'enableTableAnnotation'
4809
4967
  collection :exclude_html_classes, as: 'excludeHtmlClasses'
@@ -6285,6 +6443,7 @@ module Google
6285
6443
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
6286
6444
  # @private
6287
6445
  class Representation < Google::Apis::Core::JsonRepresentation
6446
+ property :enable_get_processed_document, as: 'enableGetProcessedDocument'
6288
6447
  property :enable_image_annotation, as: 'enableImageAnnotation'
6289
6448
  property :enable_table_annotation, as: 'enableTableAnnotation'
6290
6449
  collection :exclude_html_classes, as: 'excludeHtmlClasses'
@@ -8170,6 +8329,139 @@ module Google
8170
8329
  end
8171
8330
  end
8172
8331
 
8332
+ class GoogleCloudDiscoveryengineV1betaAssistAnswer
8333
+ # @private
8334
+ class Representation < Google::Apis::Core::JsonRepresentation
8335
+ collection :assist_skipped_reasons, as: 'assistSkippedReasons'
8336
+ property :name, as: 'name'
8337
+ collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply::Representation
8338
+
8339
+ property :state, as: 'state'
8340
+ end
8341
+ end
8342
+
8343
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
8344
+ # @private
8345
+ class Representation < Google::Apis::Core::JsonRepresentation
8346
+ property :grounded_content, as: 'groundedContent', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContent::Representation
8347
+
8348
+ end
8349
+ end
8350
+
8351
+ class GoogleCloudDiscoveryengineV1betaAssistUserMetadata
8352
+ # @private
8353
+ class Representation < Google::Apis::Core::JsonRepresentation
8354
+ property :preferred_language_code, as: 'preferredLanguageCode'
8355
+ property :time_zone, as: 'timeZone'
8356
+ end
8357
+ end
8358
+
8359
+ class GoogleCloudDiscoveryengineV1betaAssistant
8360
+ # @private
8361
+ class Representation < Google::Apis::Core::JsonRepresentation
8362
+ property :name, as: 'name'
8363
+ end
8364
+ end
8365
+
8366
+ class GoogleCloudDiscoveryengineV1betaAssistantContent
8367
+ # @private
8368
+ class Representation < Google::Apis::Core::JsonRepresentation
8369
+ property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult::Representation
8370
+
8371
+ property :executable_code, as: 'executableCode', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode::Representation
8372
+
8373
+ property :file, as: 'file', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile::Representation
8374
+
8375
+ property :inline_data, as: 'inlineData', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob::Representation
8376
+
8377
+ property :role, as: 'role'
8378
+ property :text, as: 'text'
8379
+ property :thought, as: 'thought'
8380
+ end
8381
+ end
8382
+
8383
+ class GoogleCloudDiscoveryengineV1betaAssistantContentBlob
8384
+ # @private
8385
+ class Representation < Google::Apis::Core::JsonRepresentation
8386
+ property :data, :base64 => true, as: 'data'
8387
+ property :mime_type, as: 'mimeType'
8388
+ end
8389
+ end
8390
+
8391
+ class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
8392
+ # @private
8393
+ class Representation < Google::Apis::Core::JsonRepresentation
8394
+ property :outcome, as: 'outcome'
8395
+ property :output, as: 'output'
8396
+ end
8397
+ end
8398
+
8399
+ class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode
8400
+ # @private
8401
+ class Representation < Google::Apis::Core::JsonRepresentation
8402
+ property :code, as: 'code'
8403
+ end
8404
+ end
8405
+
8406
+ class GoogleCloudDiscoveryengineV1betaAssistantContentFile
8407
+ # @private
8408
+ class Representation < Google::Apis::Core::JsonRepresentation
8409
+ property :file_id, as: 'fileId'
8410
+ property :mime_type, as: 'mimeType'
8411
+ end
8412
+ end
8413
+
8414
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
8415
+ # @private
8416
+ class Representation < Google::Apis::Core::JsonRepresentation
8417
+ property :content, as: 'content', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContent::Representation
8418
+
8419
+ property :text_grounding_metadata, as: 'textGroundingMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata::Representation
8420
+
8421
+ end
8422
+ end
8423
+
8424
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
8425
+ # @private
8426
+ class Representation < Google::Apis::Core::JsonRepresentation
8427
+ collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference::Representation
8428
+
8429
+ collection :segments, as: 'segments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment::Representation
8430
+
8431
+ end
8432
+ end
8433
+
8434
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
8435
+ # @private
8436
+ class Representation < Google::Apis::Core::JsonRepresentation
8437
+ property :content, as: 'content'
8438
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation
8439
+
8440
+ end
8441
+ end
8442
+
8443
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
8444
+ # @private
8445
+ class Representation < Google::Apis::Core::JsonRepresentation
8446
+ property :document, as: 'document'
8447
+ property :domain, as: 'domain'
8448
+ property :page_identifier, as: 'pageIdentifier'
8449
+ property :title, as: 'title'
8450
+ property :uri, as: 'uri'
8451
+ end
8452
+ end
8453
+
8454
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment
8455
+ # @private
8456
+ class Representation < Google::Apis::Core::JsonRepresentation
8457
+ property :end_index, :numeric_string => true, as: 'endIndex'
8458
+ property :grounding_score, as: 'groundingScore'
8459
+ collection :reference_indices, as: 'referenceIndices'
8460
+ property :start_index, :numeric_string => true, as: 'startIndex'
8461
+ property :text, as: 'text'
8462
+ end
8463
+ end
8464
+
8173
8465
  class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
8174
8466
  # @private
8175
8467
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9018,6 +9310,7 @@ module Google
9018
9310
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
9019
9311
  # @private
9020
9312
  class Representation < Google::Apis::Core::JsonRepresentation
9313
+ property :enable_get_processed_document, as: 'enableGetProcessedDocument'
9021
9314
  property :enable_image_annotation, as: 'enableImageAnnotation'
9022
9315
  property :enable_table_annotation, as: 'enableTableAnnotation'
9023
9316
  collection :exclude_html_classes, as: 'excludeHtmlClasses'
@@ -9889,6 +10182,15 @@ module Google
9889
10182
  class Representation < Google::Apis::Core::JsonRepresentation
9890
10183
  property :accept_data_use_terms, as: 'acceptDataUseTerms'
9891
10184
  property :data_use_terms_version, as: 'dataUseTermsVersion'
10185
+ property :saas_params, as: 'saasParams', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams::Representation
10186
+
10187
+ end
10188
+ end
10189
+
10190
+ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams
10191
+ # @private
10192
+ class Representation < Google::Apis::Core::JsonRepresentation
10193
+ property :accept_biz_qos, as: 'acceptBizQos'
9892
10194
  end
9893
10195
  end
9894
10196
 
@@ -10985,6 +11287,87 @@ module Google
10985
11287
  end
10986
11288
  end
10987
11289
 
11290
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
11291
+ # @private
11292
+ class Representation < Google::Apis::Core::JsonRepresentation
11293
+ property :generation_spec, as: 'generationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec::Representation
11294
+
11295
+ property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery::Representation
11296
+
11297
+ property :session, as: 'session'
11298
+ property :tools_spec, as: 'toolsSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec::Representation
11299
+
11300
+ property :user_metadata, as: 'userMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistUserMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistUserMetadata::Representation
11301
+
11302
+ end
11303
+ end
11304
+
11305
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
11306
+ # @private
11307
+ class Representation < Google::Apis::Core::JsonRepresentation
11308
+ property :model_id, as: 'modelId'
11309
+ end
11310
+ end
11311
+
11312
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
11313
+ # @private
11314
+ class Representation < Google::Apis::Core::JsonRepresentation
11315
+ property :image_generation_spec, as: 'imageGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec::Representation
11316
+
11317
+ property :vertex_ai_search_spec, as: 'vertexAiSearchSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec::Representation
11318
+
11319
+ property :video_generation_spec, as: 'videoGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec::Representation
11320
+
11321
+ property :web_grounding_spec, as: 'webGroundingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec::Representation
11322
+
11323
+ end
11324
+ end
11325
+
11326
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
11327
+ # @private
11328
+ class Representation < Google::Apis::Core::JsonRepresentation
11329
+ end
11330
+ end
11331
+
11332
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
11333
+ # @private
11334
+ class Representation < Google::Apis::Core::JsonRepresentation
11335
+ collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
11336
+
11337
+ property :filter, as: 'filter'
11338
+ end
11339
+ end
11340
+
11341
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
11342
+ # @private
11343
+ class Representation < Google::Apis::Core::JsonRepresentation
11344
+ end
11345
+ end
11346
+
11347
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
11348
+ # @private
11349
+ class Representation < Google::Apis::Core::JsonRepresentation
11350
+ end
11351
+ end
11352
+
11353
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponse
11354
+ # @private
11355
+ class Representation < Google::Apis::Core::JsonRepresentation
11356
+ property :answer, as: 'answer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer::Representation
11357
+
11358
+ property :assist_token, as: 'assistToken'
11359
+ property :session_info, as: 'sessionInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo::Representation
11360
+
11361
+ end
11362
+ end
11363
+
11364
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
11365
+ # @private
11366
+ class Representation < Google::Apis::Core::JsonRepresentation
11367
+ property :session, as: 'session'
11368
+ end
11369
+ end
11370
+
10988
11371
  class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry
10989
11372
  # @private
10990
11373
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2647,9 +2647,12 @@ module Google
2647
2647
  # Required. The data store resource name. Format: `projects/`project`/locations/`
2648
2648
  # location`/collections/`collection`/dataStores/`data_store_id``
2649
2649
  # @param [String] filter
2650
- # A filter to apply on the list results. The supported features are:
2651
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
2652
- # true"
2650
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
2651
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
2652
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
2653
+ # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
2654
+ # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
2655
+ # "
2653
2656
  # @param [String] order_by
2654
2657
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
2655
2658
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -3945,6 +3948,111 @@ module Google
3945
3948
  execute_or_queue_command(command, &block)
3946
3949
  end
3947
3950
 
3951
+ # Gets an Assistant.
3952
+ # @param [String] name
3953
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
3954
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
3955
+ # @param [String] fields
3956
+ # Selector specifying which fields to include in a partial response.
3957
+ # @param [String] quota_user
3958
+ # Available to use for quota purposes for server-side applications. Can be any
3959
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3960
+ # @param [Google::Apis::RequestOptions] options
3961
+ # Request-specific options
3962
+ #
3963
+ # @yield [result, err] Result & error if block supplied
3964
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] parsed result object
3965
+ # @yieldparam err [StandardError] error object if request failed
3966
+ #
3967
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant]
3968
+ #
3969
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3970
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3971
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3972
+ def get_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
3973
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
3974
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
3975
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant
3976
+ command.params['name'] = name unless name.nil?
3977
+ command.query['fields'] = fields unless fields.nil?
3978
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3979
+ execute_or_queue_command(command, &block)
3980
+ end
3981
+
3982
+ # Updates an Assistant
3983
+ # @param [String] name
3984
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
3985
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
3986
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
3987
+ # characters.
3988
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] google_cloud_discoveryengine_v1beta_assistant_object
3989
+ # @param [String] update_mask
3990
+ # The list of fields to update.
3991
+ # @param [String] fields
3992
+ # Selector specifying which fields to include in a partial response.
3993
+ # @param [String] quota_user
3994
+ # Available to use for quota purposes for server-side applications. Can be any
3995
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3996
+ # @param [Google::Apis::RequestOptions] options
3997
+ # Request-specific options
3998
+ #
3999
+ # @yield [result, err] Result & error if block supplied
4000
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] parsed result object
4001
+ # @yieldparam err [StandardError] error object if request failed
4002
+ #
4003
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant]
4004
+ #
4005
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4006
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4007
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4008
+ def patch_project_location_collection_engine_assistant(name, google_cloud_discoveryengine_v1beta_assistant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4009
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
4010
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
4011
+ command.request_object = google_cloud_discoveryengine_v1beta_assistant_object
4012
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
4013
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant
4014
+ command.params['name'] = name unless name.nil?
4015
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4016
+ command.query['fields'] = fields unless fields.nil?
4017
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4018
+ execute_or_queue_command(command, &block)
4019
+ end
4020
+
4021
+ # Assists the user with a query in a streaming fashion.
4022
+ # @param [String] name
4023
+ # Required. The resource name of the Assistant. Format: `projects/`project`/
4024
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
4025
+ # assistant``
4026
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequest] google_cloud_discoveryengine_v1beta_stream_assist_request_object
4027
+ # @param [String] fields
4028
+ # Selector specifying which fields to include in a partial response.
4029
+ # @param [String] quota_user
4030
+ # Available to use for quota purposes for server-side applications. Can be any
4031
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4032
+ # @param [Google::Apis::RequestOptions] options
4033
+ # Request-specific options
4034
+ #
4035
+ # @yield [result, err] Result & error if block supplied
4036
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse] parsed result object
4037
+ # @yieldparam err [StandardError] error object if request failed
4038
+ #
4039
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse]
4040
+ #
4041
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4042
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4043
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4044
+ def stream_project_location_collection_engine_assistant_assist(name, google_cloud_discoveryengine_v1beta_stream_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4045
+ command = make_simple_command(:post, 'v1beta/{+name}:streamAssist', options)
4046
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequest::Representation
4047
+ command.request_object = google_cloud_discoveryengine_v1beta_stream_assist_request_object
4048
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse::Representation
4049
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse
4050
+ command.params['name'] = name unless name.nil?
4051
+ command.query['fields'] = fields unless fields.nil?
4052
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4053
+ execute_or_queue_command(command, &block)
4054
+ end
4055
+
3948
4056
  # Completes the user input with advanced keyword suggestions.
3949
4057
  # @param [String] completion_config
3950
4058
  # Required. The completion_config of the parent dataStore or engine resource
@@ -4934,9 +5042,12 @@ module Google
4934
5042
  # Required. The data store resource name. Format: `projects/`project`/locations/`
4935
5043
  # location`/collections/`collection`/dataStores/`data_store_id``
4936
5044
  # @param [String] filter
4937
- # A filter to apply on the list results. The supported features are:
4938
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
4939
- # true"
5045
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
5046
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
5047
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
5048
+ # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
5049
+ # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
5050
+ # "
4940
5051
  # @param [String] order_by
4941
5052
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
4942
5053
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -7147,9 +7258,12 @@ module Google
7147
7258
  # Required. The data store resource name. Format: `projects/`project`/locations/`
7148
7259
  # location`/collections/`collection`/dataStores/`data_store_id``
7149
7260
  # @param [String] filter
7150
- # A filter to apply on the list results. The supported features are:
7151
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
7152
- # true"
7261
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
7262
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
7263
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
7264
+ # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
7265
+ # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
7266
+ # "
7153
7267
  # @param [String] order_by
7154
7268
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
7155
7269
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -31,6 +31,9 @@ module Google
31
31
 
32
32
  # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
+
35
+ # Search your organization's data in the Cloud Search index
36
+ AUTH_CLOUD_SEARCH_QUERY = 'https://www.googleapis.com/auth/cloud_search.query'
34
37
  end
35
38
  end
36
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.73.0
4
+ version: 0.75.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.73.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.75.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: