google-apis-discoveryengine_v1beta 0.73.0 → 0.74.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.74.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 = "20250716"
26
26
  end
27
27
  end
28
28
  end
@@ -2356,6 +2356,84 @@ module Google
2356
2356
  include Google::Apis::Core::JsonObjectSupport
2357
2357
  end
2358
2358
 
2359
+ class GoogleCloudDiscoveryengineV1betaAssistAnswer
2360
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2361
+
2362
+ include Google::Apis::Core::JsonObjectSupport
2363
+ end
2364
+
2365
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
2366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2367
+
2368
+ include Google::Apis::Core::JsonObjectSupport
2369
+ end
2370
+
2371
+ class GoogleCloudDiscoveryengineV1betaAssistUserMetadata
2372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2373
+
2374
+ include Google::Apis::Core::JsonObjectSupport
2375
+ end
2376
+
2377
+ class GoogleCloudDiscoveryengineV1betaAssistantContent
2378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2379
+
2380
+ include Google::Apis::Core::JsonObjectSupport
2381
+ end
2382
+
2383
+ class GoogleCloudDiscoveryengineV1betaAssistantContentBlob
2384
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2385
+
2386
+ include Google::Apis::Core::JsonObjectSupport
2387
+ end
2388
+
2389
+ class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
2390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2391
+
2392
+ include Google::Apis::Core::JsonObjectSupport
2393
+ end
2394
+
2395
+ class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode
2396
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2397
+
2398
+ include Google::Apis::Core::JsonObjectSupport
2399
+ end
2400
+
2401
+ class GoogleCloudDiscoveryengineV1betaAssistantContentFile
2402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2403
+
2404
+ include Google::Apis::Core::JsonObjectSupport
2405
+ end
2406
+
2407
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
2408
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2409
+
2410
+ include Google::Apis::Core::JsonObjectSupport
2411
+ end
2412
+
2413
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
2414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2415
+
2416
+ include Google::Apis::Core::JsonObjectSupport
2417
+ end
2418
+
2419
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
2420
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2421
+
2422
+ include Google::Apis::Core::JsonObjectSupport
2423
+ end
2424
+
2425
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
2426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2427
+
2428
+ include Google::Apis::Core::JsonObjectSupport
2429
+ end
2430
+
2431
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment
2432
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2433
+
2434
+ include Google::Apis::Core::JsonObjectSupport
2435
+ end
2436
+
2359
2437
  class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
2360
2438
  class Representation < Google::Apis::Core::JsonRepresentation; end
2361
2439
 
@@ -4036,6 +4114,60 @@ module Google
4036
4114
  include Google::Apis::Core::JsonObjectSupport
4037
4115
  end
4038
4116
 
4117
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
4118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4119
+
4120
+ include Google::Apis::Core::JsonObjectSupport
4121
+ end
4122
+
4123
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
4124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4125
+
4126
+ include Google::Apis::Core::JsonObjectSupport
4127
+ end
4128
+
4129
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
4130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4131
+
4132
+ include Google::Apis::Core::JsonObjectSupport
4133
+ end
4134
+
4135
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
4136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4137
+
4138
+ include Google::Apis::Core::JsonObjectSupport
4139
+ end
4140
+
4141
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
4142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4143
+
4144
+ include Google::Apis::Core::JsonObjectSupport
4145
+ end
4146
+
4147
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
4148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4149
+
4150
+ include Google::Apis::Core::JsonObjectSupport
4151
+ end
4152
+
4153
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
4154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4155
+
4156
+ include Google::Apis::Core::JsonObjectSupport
4157
+ end
4158
+
4159
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponse
4160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4161
+
4162
+ include Google::Apis::Core::JsonObjectSupport
4163
+ end
4164
+
4165
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
4166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4167
+
4168
+ include Google::Apis::Core::JsonObjectSupport
4169
+ end
4170
+
4039
4171
  class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry
4040
4172
  class Representation < Google::Apis::Core::JsonRepresentation; end
4041
4173
 
@@ -4804,6 +4936,7 @@ module Google
4804
4936
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
4805
4937
  # @private
4806
4938
  class Representation < Google::Apis::Core::JsonRepresentation
4939
+ property :enable_get_processed_document, as: 'enableGetProcessedDocument'
4807
4940
  property :enable_image_annotation, as: 'enableImageAnnotation'
4808
4941
  property :enable_table_annotation, as: 'enableTableAnnotation'
4809
4942
  collection :exclude_html_classes, as: 'excludeHtmlClasses'
@@ -6285,6 +6418,7 @@ module Google
6285
6418
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
6286
6419
  # @private
6287
6420
  class Representation < Google::Apis::Core::JsonRepresentation
6421
+ property :enable_get_processed_document, as: 'enableGetProcessedDocument'
6288
6422
  property :enable_image_annotation, as: 'enableImageAnnotation'
6289
6423
  property :enable_table_annotation, as: 'enableTableAnnotation'
6290
6424
  collection :exclude_html_classes, as: 'excludeHtmlClasses'
@@ -8170,6 +8304,131 @@ module Google
8170
8304
  end
8171
8305
  end
8172
8306
 
8307
+ class GoogleCloudDiscoveryengineV1betaAssistAnswer
8308
+ # @private
8309
+ class Representation < Google::Apis::Core::JsonRepresentation
8310
+ collection :assist_skipped_reasons, as: 'assistSkippedReasons'
8311
+ collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply::Representation
8312
+
8313
+ property :state, as: 'state'
8314
+ end
8315
+ end
8316
+
8317
+ class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
8318
+ # @private
8319
+ class Representation < Google::Apis::Core::JsonRepresentation
8320
+ property :grounded_content, as: 'groundedContent', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContent::Representation
8321
+
8322
+ end
8323
+ end
8324
+
8325
+ class GoogleCloudDiscoveryengineV1betaAssistUserMetadata
8326
+ # @private
8327
+ class Representation < Google::Apis::Core::JsonRepresentation
8328
+ property :preferred_language_code, as: 'preferredLanguageCode'
8329
+ property :time_zone, as: 'timeZone'
8330
+ end
8331
+ end
8332
+
8333
+ class GoogleCloudDiscoveryengineV1betaAssistantContent
8334
+ # @private
8335
+ class Representation < Google::Apis::Core::JsonRepresentation
8336
+ property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult::Representation
8337
+
8338
+ property :executable_code, as: 'executableCode', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode::Representation
8339
+
8340
+ property :file, as: 'file', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile::Representation
8341
+
8342
+ property :inline_data, as: 'inlineData', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob::Representation
8343
+
8344
+ property :role, as: 'role'
8345
+ property :text, as: 'text'
8346
+ property :thought, as: 'thought'
8347
+ end
8348
+ end
8349
+
8350
+ class GoogleCloudDiscoveryengineV1betaAssistantContentBlob
8351
+ # @private
8352
+ class Representation < Google::Apis::Core::JsonRepresentation
8353
+ property :data, :base64 => true, as: 'data'
8354
+ property :mime_type, as: 'mimeType'
8355
+ end
8356
+ end
8357
+
8358
+ class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
8359
+ # @private
8360
+ class Representation < Google::Apis::Core::JsonRepresentation
8361
+ property :outcome, as: 'outcome'
8362
+ property :output, as: 'output'
8363
+ end
8364
+ end
8365
+
8366
+ class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode
8367
+ # @private
8368
+ class Representation < Google::Apis::Core::JsonRepresentation
8369
+ property :code, as: 'code'
8370
+ end
8371
+ end
8372
+
8373
+ class GoogleCloudDiscoveryengineV1betaAssistantContentFile
8374
+ # @private
8375
+ class Representation < Google::Apis::Core::JsonRepresentation
8376
+ property :file_id, as: 'fileId'
8377
+ property :mime_type, as: 'mimeType'
8378
+ end
8379
+ end
8380
+
8381
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
8382
+ # @private
8383
+ class Representation < Google::Apis::Core::JsonRepresentation
8384
+ property :content, as: 'content', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContent::Representation
8385
+
8386
+ property :text_grounding_metadata, as: 'textGroundingMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata::Representation
8387
+
8388
+ end
8389
+ end
8390
+
8391
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
8392
+ # @private
8393
+ class Representation < Google::Apis::Core::JsonRepresentation
8394
+ collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference::Representation
8395
+
8396
+ collection :segments, as: 'segments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment::Representation
8397
+
8398
+ end
8399
+ end
8400
+
8401
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
8402
+ # @private
8403
+ class Representation < Google::Apis::Core::JsonRepresentation
8404
+ property :content, as: 'content'
8405
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation
8406
+
8407
+ end
8408
+ end
8409
+
8410
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
8411
+ # @private
8412
+ class Representation < Google::Apis::Core::JsonRepresentation
8413
+ property :document, as: 'document'
8414
+ property :domain, as: 'domain'
8415
+ property :page_identifier, as: 'pageIdentifier'
8416
+ property :title, as: 'title'
8417
+ property :uri, as: 'uri'
8418
+ end
8419
+ end
8420
+
8421
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment
8422
+ # @private
8423
+ class Representation < Google::Apis::Core::JsonRepresentation
8424
+ property :end_index, :numeric_string => true, as: 'endIndex'
8425
+ property :grounding_score, as: 'groundingScore'
8426
+ collection :reference_indices, as: 'referenceIndices'
8427
+ property :start_index, :numeric_string => true, as: 'startIndex'
8428
+ property :text, as: 'text'
8429
+ end
8430
+ end
8431
+
8173
8432
  class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
8174
8433
  # @private
8175
8434
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9018,6 +9277,7 @@ module Google
9018
9277
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
9019
9278
  # @private
9020
9279
  class Representation < Google::Apis::Core::JsonRepresentation
9280
+ property :enable_get_processed_document, as: 'enableGetProcessedDocument'
9021
9281
  property :enable_image_annotation, as: 'enableImageAnnotation'
9022
9282
  property :enable_table_annotation, as: 'enableTableAnnotation'
9023
9283
  collection :exclude_html_classes, as: 'excludeHtmlClasses'
@@ -10985,6 +11245,90 @@ module Google
10985
11245
  end
10986
11246
  end
10987
11247
 
11248
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
11249
+ # @private
11250
+ class Representation < Google::Apis::Core::JsonRepresentation
11251
+ property :generation_spec, as: 'generationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec::Representation
11252
+
11253
+ property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery::Representation
11254
+
11255
+ property :session, as: 'session'
11256
+ property :tools_spec, as: 'toolsSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec::Representation
11257
+
11258
+ property :user_metadata, as: 'userMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistUserMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistUserMetadata::Representation
11259
+
11260
+ end
11261
+ end
11262
+
11263
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
11264
+ # @private
11265
+ class Representation < Google::Apis::Core::JsonRepresentation
11266
+ property :model_id, as: 'modelId'
11267
+ end
11268
+ end
11269
+
11270
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
11271
+ # @private
11272
+ class Representation < Google::Apis::Core::JsonRepresentation
11273
+ property :image_generation_spec, as: 'imageGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec::Representation
11274
+
11275
+ property :tool_registry, as: 'toolRegistry'
11276
+ property :vertex_ai_search_spec, as: 'vertexAiSearchSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec::Representation
11277
+
11278
+ property :video_generation_spec, as: 'videoGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec::Representation
11279
+
11280
+ property :web_grounding_spec, as: 'webGroundingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec::Representation
11281
+
11282
+ end
11283
+ end
11284
+
11285
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
11286
+ # @private
11287
+ class Representation < Google::Apis::Core::JsonRepresentation
11288
+ end
11289
+ end
11290
+
11291
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
11292
+ # @private
11293
+ class Representation < Google::Apis::Core::JsonRepresentation
11294
+ collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
11295
+
11296
+ property :disabled, as: 'disabled'
11297
+ property :filter, as: 'filter'
11298
+ end
11299
+ end
11300
+
11301
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
11302
+ # @private
11303
+ class Representation < Google::Apis::Core::JsonRepresentation
11304
+ end
11305
+ end
11306
+
11307
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
11308
+ # @private
11309
+ class Representation < Google::Apis::Core::JsonRepresentation
11310
+ property :enabled, as: 'enabled'
11311
+ end
11312
+ end
11313
+
11314
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponse
11315
+ # @private
11316
+ class Representation < Google::Apis::Core::JsonRepresentation
11317
+ property :answer, as: 'answer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer::Representation
11318
+
11319
+ property :assist_token, as: 'assistToken'
11320
+ property :session_info, as: 'sessionInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo::Representation
11321
+
11322
+ end
11323
+ end
11324
+
11325
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
11326
+ # @private
11327
+ class Representation < Google::Apis::Core::JsonRepresentation
11328
+ property :session, as: 'session'
11329
+ end
11330
+ end
11331
+
10988
11332
  class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry
10989
11333
  # @private
10990
11334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3945,6 +3945,41 @@ module Google
3945
3945
  execute_or_queue_command(command, &block)
3946
3946
  end
3947
3947
 
3948
+ # Assists the user with a query in a streaming fashion.
3949
+ # @param [String] name
3950
+ # Required. The resource name of the Assistant. Format: `projects/`project`/
3951
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
3952
+ # assistant``
3953
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequest] google_cloud_discoveryengine_v1beta_stream_assist_request_object
3954
+ # @param [String] fields
3955
+ # Selector specifying which fields to include in a partial response.
3956
+ # @param [String] quota_user
3957
+ # Available to use for quota purposes for server-side applications. Can be any
3958
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3959
+ # @param [Google::Apis::RequestOptions] options
3960
+ # Request-specific options
3961
+ #
3962
+ # @yield [result, err] Result & error if block supplied
3963
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse] parsed result object
3964
+ # @yieldparam err [StandardError] error object if request failed
3965
+ #
3966
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse]
3967
+ #
3968
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3969
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3970
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3971
+ 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)
3972
+ command = make_simple_command(:post, 'v1beta/{+name}:streamAssist', options)
3973
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequest::Representation
3974
+ command.request_object = google_cloud_discoveryengine_v1beta_stream_assist_request_object
3975
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse::Representation
3976
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse
3977
+ command.params['name'] = name unless name.nil?
3978
+ command.query['fields'] = fields unless fields.nil?
3979
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3980
+ execute_or_queue_command(command, &block)
3981
+ end
3982
+
3948
3983
  # Completes the user input with advanced keyword suggestions.
3949
3984
  # @param [String] completion_config
3950
3985
  # Required. The completion_config of the parent dataStore or engine resource
@@ -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.74.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.74.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: