google-apis-discoveryengine_v1 0.45.0 → 0.46.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 DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.46.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 = "20250716"
25
+ REVISION = "20250728"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,72 @@ module Google
22
22
  module Apis
23
23
  module DiscoveryengineV1
24
24
 
25
+ class GdataBlobstore2Info
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GdataCompositeMedia
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GdataContentTypeInfo
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GdataDiffChecksumsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GdataDiffDownloadResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GdataDiffUploadRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GdataDiffUploadResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GdataDiffVersionResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GdataDownloadParameters
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GdataMedia
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GdataObjectId
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
25
91
  class GoogleApiDistribution
26
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
93
 
@@ -502,6 +568,12 @@ module Google
502
568
  include Google::Apis::Core::JsonObjectSupport
503
569
  end
504
570
 
571
+ class GoogleCloudDiscoveryengineV1Assistant
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
505
577
  class GoogleCloudDiscoveryengineV1AssistantContent
506
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
579
 
@@ -1474,6 +1546,12 @@ module Google
1474
1546
  include Google::Apis::Core::JsonObjectSupport
1475
1547
  end
1476
1548
 
1549
+ class GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams
1550
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1551
+
1552
+ include Google::Apis::Core::JsonObjectSupport
1553
+ end
1554
+
1477
1555
  class GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata
1478
1556
  class Representation < Google::Apis::Core::JsonRepresentation; end
1479
1557
 
@@ -2692,6 +2770,18 @@ module Google
2692
2770
  include Google::Apis::Core::JsonObjectSupport
2693
2771
  end
2694
2772
 
2773
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
2774
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2775
+
2776
+ include Google::Apis::Core::JsonObjectSupport
2777
+ end
2778
+
2779
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
2780
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2781
+
2782
+ include Google::Apis::Core::JsonObjectSupport
2783
+ end
2784
+
2695
2785
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
2696
2786
  class Representation < Google::Apis::Core::JsonRepresentation; end
2697
2787
 
@@ -4192,6 +4282,159 @@ module Google
4192
4282
  include Google::Apis::Core::JsonObjectSupport
4193
4283
  end
4194
4284
 
4285
+ class GdataBlobstore2Info
4286
+ # @private
4287
+ class Representation < Google::Apis::Core::JsonRepresentation
4288
+ property :blob_generation, :numeric_string => true, as: 'blobGeneration'
4289
+ property :blob_id, as: 'blobId'
4290
+ property :download_read_handle, :base64 => true, as: 'downloadReadHandle'
4291
+ property :read_token, as: 'readToken'
4292
+ property :upload_metadata_container, :base64 => true, as: 'uploadMetadataContainer'
4293
+ end
4294
+ end
4295
+
4296
+ class GdataCompositeMedia
4297
+ # @private
4298
+ class Representation < Google::Apis::Core::JsonRepresentation
4299
+ property :blob_ref, :base64 => true, as: 'blobRef'
4300
+ property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::DiscoveryengineV1::GdataBlobstore2Info, decorator: Google::Apis::DiscoveryengineV1::GdataBlobstore2Info::Representation
4301
+
4302
+ property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
4303
+ property :crc32c_hash, as: 'crc32cHash'
4304
+ property :inline, :base64 => true, as: 'inline'
4305
+ property :length, :numeric_string => true, as: 'length'
4306
+ property :md5_hash, :base64 => true, as: 'md5Hash'
4307
+ property :object_id_prop, as: 'objectId', class: Google::Apis::DiscoveryengineV1::GdataObjectId, decorator: Google::Apis::DiscoveryengineV1::GdataObjectId::Representation
4308
+
4309
+ property :path, as: 'path'
4310
+ property :reference_type, as: 'referenceType'
4311
+ property :sha1_hash, :base64 => true, as: 'sha1Hash'
4312
+ end
4313
+ end
4314
+
4315
+ class GdataContentTypeInfo
4316
+ # @private
4317
+ class Representation < Google::Apis::Core::JsonRepresentation
4318
+ property :best_guess, as: 'bestGuess'
4319
+ property :from_bytes, as: 'fromBytes'
4320
+ property :from_file_name, as: 'fromFileName'
4321
+ property :from_header, as: 'fromHeader'
4322
+ property :from_url_path, as: 'fromUrlPath'
4323
+ end
4324
+ end
4325
+
4326
+ class GdataDiffChecksumsResponse
4327
+ # @private
4328
+ class Representation < Google::Apis::Core::JsonRepresentation
4329
+ property :checksums_location, as: 'checksumsLocation', class: Google::Apis::DiscoveryengineV1::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1::GdataCompositeMedia::Representation
4330
+
4331
+ property :chunk_size_bytes, :numeric_string => true, as: 'chunkSizeBytes'
4332
+ property :object_location, as: 'objectLocation', class: Google::Apis::DiscoveryengineV1::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1::GdataCompositeMedia::Representation
4333
+
4334
+ property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
4335
+ property :object_version, as: 'objectVersion'
4336
+ end
4337
+ end
4338
+
4339
+ class GdataDiffDownloadResponse
4340
+ # @private
4341
+ class Representation < Google::Apis::Core::JsonRepresentation
4342
+ property :object_location, as: 'objectLocation', class: Google::Apis::DiscoveryengineV1::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1::GdataCompositeMedia::Representation
4343
+
4344
+ end
4345
+ end
4346
+
4347
+ class GdataDiffUploadRequest
4348
+ # @private
4349
+ class Representation < Google::Apis::Core::JsonRepresentation
4350
+ property :checksums_info, as: 'checksumsInfo', class: Google::Apis::DiscoveryengineV1::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1::GdataCompositeMedia::Representation
4351
+
4352
+ property :object_info, as: 'objectInfo', class: Google::Apis::DiscoveryengineV1::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1::GdataCompositeMedia::Representation
4353
+
4354
+ property :object_version, as: 'objectVersion'
4355
+ end
4356
+ end
4357
+
4358
+ class GdataDiffUploadResponse
4359
+ # @private
4360
+ class Representation < Google::Apis::Core::JsonRepresentation
4361
+ property :object_version, as: 'objectVersion'
4362
+ property :original_object, as: 'originalObject', class: Google::Apis::DiscoveryengineV1::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1::GdataCompositeMedia::Representation
4363
+
4364
+ end
4365
+ end
4366
+
4367
+ class GdataDiffVersionResponse
4368
+ # @private
4369
+ class Representation < Google::Apis::Core::JsonRepresentation
4370
+ property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
4371
+ property :object_version, as: 'objectVersion'
4372
+ end
4373
+ end
4374
+
4375
+ class GdataDownloadParameters
4376
+ # @private
4377
+ class Representation < Google::Apis::Core::JsonRepresentation
4378
+ property :allow_gzip_compression, as: 'allowGzipCompression'
4379
+ property :ignore_range, as: 'ignoreRange'
4380
+ end
4381
+ end
4382
+
4383
+ class GdataMedia
4384
+ # @private
4385
+ class Representation < Google::Apis::Core::JsonRepresentation
4386
+ property :algorithm, as: 'algorithm'
4387
+ property :bigstore_object_ref, :base64 => true, as: 'bigstoreObjectRef'
4388
+ property :blob_ref, :base64 => true, as: 'blobRef'
4389
+ property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::DiscoveryengineV1::GdataBlobstore2Info, decorator: Google::Apis::DiscoveryengineV1::GdataBlobstore2Info::Representation
4390
+
4391
+ collection :composite_media, as: 'compositeMedia', class: Google::Apis::DiscoveryengineV1::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1::GdataCompositeMedia::Representation
4392
+
4393
+ property :content_type, as: 'contentType'
4394
+ property :content_type_info, as: 'contentTypeInfo', class: Google::Apis::DiscoveryengineV1::GdataContentTypeInfo, decorator: Google::Apis::DiscoveryengineV1::GdataContentTypeInfo::Representation
4395
+
4396
+ property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
4397
+ property :crc32c_hash, as: 'crc32cHash'
4398
+ property :diff_checksums_response, as: 'diffChecksumsResponse', class: Google::Apis::DiscoveryengineV1::GdataDiffChecksumsResponse, decorator: Google::Apis::DiscoveryengineV1::GdataDiffChecksumsResponse::Representation
4399
+
4400
+ property :diff_download_response, as: 'diffDownloadResponse', class: Google::Apis::DiscoveryengineV1::GdataDiffDownloadResponse, decorator: Google::Apis::DiscoveryengineV1::GdataDiffDownloadResponse::Representation
4401
+
4402
+ property :diff_upload_request, as: 'diffUploadRequest', class: Google::Apis::DiscoveryengineV1::GdataDiffUploadRequest, decorator: Google::Apis::DiscoveryengineV1::GdataDiffUploadRequest::Representation
4403
+
4404
+ property :diff_upload_response, as: 'diffUploadResponse', class: Google::Apis::DiscoveryengineV1::GdataDiffUploadResponse, decorator: Google::Apis::DiscoveryengineV1::GdataDiffUploadResponse::Representation
4405
+
4406
+ property :diff_version_response, as: 'diffVersionResponse', class: Google::Apis::DiscoveryengineV1::GdataDiffVersionResponse, decorator: Google::Apis::DiscoveryengineV1::GdataDiffVersionResponse::Representation
4407
+
4408
+ property :download_parameters, as: 'downloadParameters', class: Google::Apis::DiscoveryengineV1::GdataDownloadParameters, decorator: Google::Apis::DiscoveryengineV1::GdataDownloadParameters::Representation
4409
+
4410
+ property :filename, as: 'filename'
4411
+ property :hash_prop, as: 'hash'
4412
+ property :hash_verified, as: 'hashVerified'
4413
+ property :inline, :base64 => true, as: 'inline'
4414
+ property :is_potential_retry, as: 'isPotentialRetry'
4415
+ property :length, :numeric_string => true, as: 'length'
4416
+ property :md5_hash, :base64 => true, as: 'md5Hash'
4417
+ property :media_id, :base64 => true, as: 'mediaId'
4418
+ property :object_id_prop, as: 'objectId', class: Google::Apis::DiscoveryengineV1::GdataObjectId, decorator: Google::Apis::DiscoveryengineV1::GdataObjectId::Representation
4419
+
4420
+ property :path, as: 'path'
4421
+ property :reference_type, as: 'referenceType'
4422
+ property :sha1_hash, :base64 => true, as: 'sha1Hash'
4423
+ property :sha256_hash, :base64 => true, as: 'sha256Hash'
4424
+ property :timestamp, :numeric_string => true, as: 'timestamp'
4425
+ property :token, as: 'token'
4426
+ end
4427
+ end
4428
+
4429
+ class GdataObjectId
4430
+ # @private
4431
+ class Representation < Google::Apis::Core::JsonRepresentation
4432
+ property :bucket_name, as: 'bucketName'
4433
+ property :generation, :numeric_string => true, as: 'generation'
4434
+ property :object_name, as: 'objectName'
4435
+ end
4436
+ end
4437
+
4195
4438
  class GoogleApiDistribution
4196
4439
  # @private
4197
4440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4987,6 +5230,7 @@ module Google
4987
5230
  # @private
4988
5231
  class Representation < Google::Apis::Core::JsonRepresentation
4989
5232
  collection :assist_skipped_reasons, as: 'assistSkippedReasons'
5233
+ property :name, as: 'name'
4990
5234
  collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerReply::Representation
4991
5235
 
4992
5236
  property :state, as: 'state'
@@ -5009,6 +5253,13 @@ module Google
5009
5253
  end
5010
5254
  end
5011
5255
 
5256
+ class GoogleCloudDiscoveryengineV1Assistant
5257
+ # @private
5258
+ class Representation < Google::Apis::Core::JsonRepresentation
5259
+ property :name, as: 'name'
5260
+ end
5261
+ end
5262
+
5012
5263
  class GoogleCloudDiscoveryengineV1AssistantContent
5013
5264
  # @private
5014
5265
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6610,6 +6861,15 @@ module Google
6610
6861
  class Representation < Google::Apis::Core::JsonRepresentation
6611
6862
  property :accept_data_use_terms, as: 'acceptDataUseTerms'
6612
6863
  property :data_use_terms_version, as: 'dataUseTermsVersion'
6864
+ property :saas_params, as: 'saasParams', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams::Representation
6865
+
6866
+ end
6867
+ end
6868
+
6869
+ class GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams
6870
+ # @private
6871
+ class Representation < Google::Apis::Core::JsonRepresentation
6872
+ property :accept_biz_qos, as: 'acceptBizQos'
6613
6873
  end
6614
6874
  end
6615
6875
 
@@ -7399,7 +7659,6 @@ module Google
7399
7659
  class Representation < Google::Apis::Core::JsonRepresentation
7400
7660
  property :image_generation_spec, as: 'imageGenerationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec::Representation
7401
7661
 
7402
- property :tool_registry, as: 'toolRegistry'
7403
7662
  property :vertex_ai_search_spec, as: 'vertexAiSearchSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec::Representation
7404
7663
 
7405
7664
  property :video_generation_spec, as: 'videoGenerationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec::Representation
@@ -7420,7 +7679,6 @@ module Google
7420
7679
  class Representation < Google::Apis::Core::JsonRepresentation
7421
7680
  collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec::Representation
7422
7681
 
7423
- property :disabled, as: 'disabled'
7424
7682
  property :filter, as: 'filter'
7425
7683
  end
7426
7684
  end
@@ -7434,7 +7692,6 @@ module Google
7434
7692
  class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec
7435
7693
  # @private
7436
7694
  class Representation < Google::Apis::Core::JsonRepresentation
7437
- property :enabled, as: 'enabled'
7438
7695
  end
7439
7696
  end
7440
7697
 
@@ -8745,6 +9002,20 @@ module Google
8745
9002
  end
8746
9003
  end
8747
9004
 
9005
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
9006
+ # @private
9007
+ class Representation < Google::Apis::Core::JsonRepresentation
9008
+ property :create_time, as: 'createTime'
9009
+ property :update_time, as: 'updateTime'
9010
+ end
9011
+ end
9012
+
9013
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
9014
+ # @private
9015
+ class Representation < Google::Apis::Core::JsonRepresentation
9016
+ end
9017
+ end
9018
+
8748
9019
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
8749
9020
  # @private
8750
9021
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9484,6 +9755,7 @@ module Google
9484
9755
  class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
9485
9756
  # @private
9486
9757
  class Representation < Google::Apis::Core::JsonRepresentation
9758
+ property :extracted_filter_behavior, as: 'extractedFilterBehavior'
9487
9759
  property :filter_extraction_condition, as: 'filterExtractionCondition'
9488
9760
  collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
9489
9761
  end
@@ -10914,6 +11186,7 @@ module Google
10914
11186
  class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
10915
11187
  # @private
10916
11188
  class Representation < Google::Apis::Core::JsonRepresentation
11189
+ property :extracted_filter_behavior, as: 'extractedFilterBehavior'
10917
11190
  property :filter_extraction_condition, as: 'filterExtractionCondition'
10918
11191
  collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
10919
11192
  end
@@ -51,6 +51,51 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Downloads a file from the session.
55
+ # @param [String] name
56
+ # Required. The resource name of the Session. Format: `projects/`project`/
57
+ # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
58
+ # session``
59
+ # @param [String] file_id
60
+ # Required. The ID of the file to be downloaded.
61
+ # @param [String] view_id
62
+ # Optional. The ID of the view to be downloaded.
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [IO, String] download_dest
69
+ # IO stream or filename to receive content download
70
+ # @param [Google::Apis::RequestOptions] options
71
+ # Request-specific options
72
+ #
73
+ # @yield [result, err] Result & error if block supplied
74
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GdataMedia] parsed result object
75
+ # @yieldparam err [StandardError] error object if request failed
76
+ #
77
+ # @return [Google::Apis::DiscoveryengineV1::GdataMedia]
78
+ #
79
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
82
+ def download_medium(name, file_id: nil, view_id: nil, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
83
+ if download_dest.nil?
84
+ command = make_simple_command(:get, 'v1/{+name}:downloadFile', options)
85
+ else
86
+ command = make_download_command(:get, 'v1/{+name}:downloadFile', options)
87
+ command.download_dest = download_dest
88
+ end
89
+ command.response_representation = Google::Apis::DiscoveryengineV1::GdataMedia::Representation
90
+ command.response_class = Google::Apis::DiscoveryengineV1::GdataMedia
91
+ command.params['name'] = name unless name.nil?
92
+ command.query['fileId'] = file_id unless file_id.nil?
93
+ command.query['viewId'] = view_id unless view_id.nil?
94
+ command.query['fields'] = fields unless fields.nil?
95
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
96
+ execute_or_queue_command(command, &block)
97
+ end
98
+
54
99
  # Provisions the project resource. During the process, related systems will get
55
100
  # prepared and initialized. Caller must read the [Terms for data use](https://
56
101
  # cloud.google.com/retail/data-use-terms), and optionally specify in request to
@@ -2461,9 +2506,12 @@ module Google
2461
2506
  # Required. The data store resource name. Format: `projects/`project`/locations/`
2462
2507
  # location`/collections/`collection`/dataStores/`data_store_id``
2463
2508
  # @param [String] filter
2464
- # A filter to apply on the list results. The supported features are:
2465
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
2466
- # true"
2509
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
2510
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
2511
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
2512
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
2513
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
2514
+ # `
2467
2515
  # @param [String] order_by
2468
2516
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
2469
2517
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -3654,6 +3702,76 @@ module Google
3654
3702
  execute_or_queue_command(command, &block)
3655
3703
  end
3656
3704
 
3705
+ # Gets an Assistant.
3706
+ # @param [String] name
3707
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
3708
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
3709
+ # @param [String] fields
3710
+ # Selector specifying which fields to include in a partial response.
3711
+ # @param [String] quota_user
3712
+ # Available to use for quota purposes for server-side applications. Can be any
3713
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3714
+ # @param [Google::Apis::RequestOptions] options
3715
+ # Request-specific options
3716
+ #
3717
+ # @yield [result, err] Result & error if block supplied
3718
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant] parsed result object
3719
+ # @yieldparam err [StandardError] error object if request failed
3720
+ #
3721
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant]
3722
+ #
3723
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3724
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3725
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3726
+ def get_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
3727
+ command = make_simple_command(:get, 'v1/{+name}', options)
3728
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant::Representation
3729
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant
3730
+ command.params['name'] = name unless name.nil?
3731
+ command.query['fields'] = fields unless fields.nil?
3732
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3733
+ execute_or_queue_command(command, &block)
3734
+ end
3735
+
3736
+ # Updates an Assistant
3737
+ # @param [String] name
3738
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
3739
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
3740
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
3741
+ # characters.
3742
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant] google_cloud_discoveryengine_v1_assistant_object
3743
+ # @param [String] update_mask
3744
+ # The list of fields to update.
3745
+ # @param [String] fields
3746
+ # Selector specifying which fields to include in a partial response.
3747
+ # @param [String] quota_user
3748
+ # Available to use for quota purposes for server-side applications. Can be any
3749
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3750
+ # @param [Google::Apis::RequestOptions] options
3751
+ # Request-specific options
3752
+ #
3753
+ # @yield [result, err] Result & error if block supplied
3754
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant] parsed result object
3755
+ # @yieldparam err [StandardError] error object if request failed
3756
+ #
3757
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant]
3758
+ #
3759
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3760
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3761
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3762
+ def patch_project_location_collection_engine_assistant(name, google_cloud_discoveryengine_v1_assistant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3763
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3764
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant::Representation
3765
+ command.request_object = google_cloud_discoveryengine_v1_assistant_object
3766
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant::Representation
3767
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant
3768
+ command.params['name'] = name unless name.nil?
3769
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3770
+ command.query['fields'] = fields unless fields.nil?
3771
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3772
+ execute_or_queue_command(command, &block)
3773
+ end
3774
+
3657
3775
  # Assists the user with a query in a streaming fashion.
3658
3776
  # @param [String] name
3659
3777
  # Required. The resource name of the Assistant. Format: `projects/`project`/
@@ -4607,9 +4725,12 @@ module Google
4607
4725
  # Required. The data store resource name. Format: `projects/`project`/locations/`
4608
4726
  # location`/collections/`collection`/dataStores/`data_store_id``
4609
4727
  # @param [String] filter
4610
- # A filter to apply on the list results. The supported features are:
4611
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
4612
- # true"
4728
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
4729
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
4730
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
4731
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
4732
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
4733
+ # `
4613
4734
  # @param [String] order_by
4614
4735
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
4615
4736
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -6748,9 +6869,12 @@ module Google
6748
6869
  # Required. The data store resource name. Format: `projects/`project`/locations/`
6749
6870
  # location`/collections/`collection`/dataStores/`data_store_id``
6750
6871
  # @param [String] filter
6751
- # A filter to apply on the list results. The supported features are:
6752
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
6753
- # true"
6872
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
6873
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
6874
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
6875
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
6876
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
6877
+ # `
6754
6878
  # @param [String] order_by
6755
6879
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
6756
6880
  # desc" after a field name for descending. Supported fields: * `update_time` * `
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.46.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.46.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: