google-apis-discoveryengine_v1beta 0.74.0 → 0.76.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.74.0"
19
+ GEM_VERSION = "0.76.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 DiscoveryengineV1beta
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
 
@@ -148,6 +214,12 @@ module Google
148
214
  include Google::Apis::Core::JsonObjectSupport
149
215
  end
150
216
 
217
+ class GoogleCloudDiscoveryengineV1Assistant
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
151
223
  class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
152
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
225
 
@@ -1366,6 +1438,18 @@ module Google
1366
1438
  include Google::Apis::Core::JsonObjectSupport
1367
1439
  end
1368
1440
 
1441
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1447
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1369
1453
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
1370
1454
  class Representation < Google::Apis::Core::JsonRepresentation; end
1371
1455
 
@@ -2374,6 +2458,12 @@ module Google
2374
2458
  include Google::Apis::Core::JsonObjectSupport
2375
2459
  end
2376
2460
 
2461
+ class GoogleCloudDiscoveryengineV1betaAssistant
2462
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2463
+
2464
+ include Google::Apis::Core::JsonObjectSupport
2465
+ end
2466
+
2377
2467
  class GoogleCloudDiscoveryengineV1betaAssistantContent
2378
2468
  class Representation < Google::Apis::Core::JsonRepresentation; end
2379
2469
 
@@ -3478,6 +3568,12 @@ module Google
3478
3568
  include Google::Apis::Core::JsonObjectSupport
3479
3569
  end
3480
3570
 
3571
+ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams
3572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3573
+
3574
+ include Google::Apis::Core::JsonObjectSupport
3575
+ end
3576
+
3481
3577
  class GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest
3482
3578
  class Representation < Google::Apis::Core::JsonRepresentation; end
3483
3579
 
@@ -4354,6 +4450,159 @@ module Google
4354
4450
  include Google::Apis::Core::JsonObjectSupport
4355
4451
  end
4356
4452
 
4453
+ class GdataBlobstore2Info
4454
+ # @private
4455
+ class Representation < Google::Apis::Core::JsonRepresentation
4456
+ property :blob_generation, :numeric_string => true, as: 'blobGeneration'
4457
+ property :blob_id, as: 'blobId'
4458
+ property :download_read_handle, :base64 => true, as: 'downloadReadHandle'
4459
+ property :read_token, as: 'readToken'
4460
+ property :upload_metadata_container, :base64 => true, as: 'uploadMetadataContainer'
4461
+ end
4462
+ end
4463
+
4464
+ class GdataCompositeMedia
4465
+ # @private
4466
+ class Representation < Google::Apis::Core::JsonRepresentation
4467
+ property :blob_ref, :base64 => true, as: 'blobRef'
4468
+ property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info, decorator: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info::Representation
4469
+
4470
+ property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
4471
+ property :crc32c_hash, as: 'crc32cHash'
4472
+ property :inline, :base64 => true, as: 'inline'
4473
+ property :length, :numeric_string => true, as: 'length'
4474
+ property :md5_hash, :base64 => true, as: 'md5Hash'
4475
+ property :object_id_prop, as: 'objectId', class: Google::Apis::DiscoveryengineV1beta::GdataObjectId, decorator: Google::Apis::DiscoveryengineV1beta::GdataObjectId::Representation
4476
+
4477
+ property :path, as: 'path'
4478
+ property :reference_type, as: 'referenceType'
4479
+ property :sha1_hash, :base64 => true, as: 'sha1Hash'
4480
+ end
4481
+ end
4482
+
4483
+ class GdataContentTypeInfo
4484
+ # @private
4485
+ class Representation < Google::Apis::Core::JsonRepresentation
4486
+ property :best_guess, as: 'bestGuess'
4487
+ property :from_bytes, as: 'fromBytes'
4488
+ property :from_file_name, as: 'fromFileName'
4489
+ property :from_header, as: 'fromHeader'
4490
+ property :from_url_path, as: 'fromUrlPath'
4491
+ end
4492
+ end
4493
+
4494
+ class GdataDiffChecksumsResponse
4495
+ # @private
4496
+ class Representation < Google::Apis::Core::JsonRepresentation
4497
+ property :checksums_location, as: 'checksumsLocation', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
4498
+
4499
+ property :chunk_size_bytes, :numeric_string => true, as: 'chunkSizeBytes'
4500
+ property :object_location, as: 'objectLocation', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
4501
+
4502
+ property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
4503
+ property :object_version, as: 'objectVersion'
4504
+ end
4505
+ end
4506
+
4507
+ class GdataDiffDownloadResponse
4508
+ # @private
4509
+ class Representation < Google::Apis::Core::JsonRepresentation
4510
+ property :object_location, as: 'objectLocation', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
4511
+
4512
+ end
4513
+ end
4514
+
4515
+ class GdataDiffUploadRequest
4516
+ # @private
4517
+ class Representation < Google::Apis::Core::JsonRepresentation
4518
+ property :checksums_info, as: 'checksumsInfo', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
4519
+
4520
+ property :object_info, as: 'objectInfo', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
4521
+
4522
+ property :object_version, as: 'objectVersion'
4523
+ end
4524
+ end
4525
+
4526
+ class GdataDiffUploadResponse
4527
+ # @private
4528
+ class Representation < Google::Apis::Core::JsonRepresentation
4529
+ property :object_version, as: 'objectVersion'
4530
+ property :original_object, as: 'originalObject', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
4531
+
4532
+ end
4533
+ end
4534
+
4535
+ class GdataDiffVersionResponse
4536
+ # @private
4537
+ class Representation < Google::Apis::Core::JsonRepresentation
4538
+ property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
4539
+ property :object_version, as: 'objectVersion'
4540
+ end
4541
+ end
4542
+
4543
+ class GdataDownloadParameters
4544
+ # @private
4545
+ class Representation < Google::Apis::Core::JsonRepresentation
4546
+ property :allow_gzip_compression, as: 'allowGzipCompression'
4547
+ property :ignore_range, as: 'ignoreRange'
4548
+ end
4549
+ end
4550
+
4551
+ class GdataMedia
4552
+ # @private
4553
+ class Representation < Google::Apis::Core::JsonRepresentation
4554
+ property :algorithm, as: 'algorithm'
4555
+ property :bigstore_object_ref, :base64 => true, as: 'bigstoreObjectRef'
4556
+ property :blob_ref, :base64 => true, as: 'blobRef'
4557
+ property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info, decorator: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info::Representation
4558
+
4559
+ collection :composite_media, as: 'compositeMedia', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
4560
+
4561
+ property :content_type, as: 'contentType'
4562
+ property :content_type_info, as: 'contentTypeInfo', class: Google::Apis::DiscoveryengineV1beta::GdataContentTypeInfo, decorator: Google::Apis::DiscoveryengineV1beta::GdataContentTypeInfo::Representation
4563
+
4564
+ property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
4565
+ property :crc32c_hash, as: 'crc32cHash'
4566
+ property :diff_checksums_response, as: 'diffChecksumsResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffChecksumsResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffChecksumsResponse::Representation
4567
+
4568
+ property :diff_download_response, as: 'diffDownloadResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffDownloadResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffDownloadResponse::Representation
4569
+
4570
+ property :diff_upload_request, as: 'diffUploadRequest', class: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadRequest, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadRequest::Representation
4571
+
4572
+ property :diff_upload_response, as: 'diffUploadResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadResponse::Representation
4573
+
4574
+ property :diff_version_response, as: 'diffVersionResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffVersionResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffVersionResponse::Representation
4575
+
4576
+ property :download_parameters, as: 'downloadParameters', class: Google::Apis::DiscoveryengineV1beta::GdataDownloadParameters, decorator: Google::Apis::DiscoveryengineV1beta::GdataDownloadParameters::Representation
4577
+
4578
+ property :filename, as: 'filename'
4579
+ property :hash_prop, as: 'hash'
4580
+ property :hash_verified, as: 'hashVerified'
4581
+ property :inline, :base64 => true, as: 'inline'
4582
+ property :is_potential_retry, as: 'isPotentialRetry'
4583
+ property :length, :numeric_string => true, as: 'length'
4584
+ property :md5_hash, :base64 => true, as: 'md5Hash'
4585
+ property :media_id, :base64 => true, as: 'mediaId'
4586
+ property :object_id_prop, as: 'objectId', class: Google::Apis::DiscoveryengineV1beta::GdataObjectId, decorator: Google::Apis::DiscoveryengineV1beta::GdataObjectId::Representation
4587
+
4588
+ property :path, as: 'path'
4589
+ property :reference_type, as: 'referenceType'
4590
+ property :sha1_hash, :base64 => true, as: 'sha1Hash'
4591
+ property :sha256_hash, :base64 => true, as: 'sha256Hash'
4592
+ property :timestamp, :numeric_string => true, as: 'timestamp'
4593
+ property :token, as: 'token'
4594
+ end
4595
+ end
4596
+
4597
+ class GdataObjectId
4598
+ # @private
4599
+ class Representation < Google::Apis::Core::JsonRepresentation
4600
+ property :bucket_name, as: 'bucketName'
4601
+ property :generation, :numeric_string => true, as: 'generation'
4602
+ property :object_name, as: 'objectName'
4603
+ end
4604
+ end
4605
+
4357
4606
  class GoogleApiDistribution
4358
4607
  # @private
4359
4608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4561,6 +4810,13 @@ module Google
4561
4810
  end
4562
4811
  end
4563
4812
 
4813
+ class GoogleCloudDiscoveryengineV1Assistant
4814
+ # @private
4815
+ class Representation < Google::Apis::Core::JsonRepresentation
4816
+ property :name, as: 'name'
4817
+ end
4818
+ end
4819
+
4564
4820
  class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
4565
4821
  # @private
4566
4822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6633,6 +6889,20 @@ module Google
6633
6889
  end
6634
6890
  end
6635
6891
 
6892
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
6893
+ # @private
6894
+ class Representation < Google::Apis::Core::JsonRepresentation
6895
+ property :create_time, as: 'createTime'
6896
+ property :update_time, as: 'updateTime'
6897
+ end
6898
+ end
6899
+
6900
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
6901
+ # @private
6902
+ class Representation < Google::Apis::Core::JsonRepresentation
6903
+ end
6904
+ end
6905
+
6636
6906
  class GoogleCloudDiscoveryengineV1alphaFieldConfig
6637
6907
  # @private
6638
6908
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7372,6 +7642,7 @@ module Google
7372
7642
  class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
7373
7643
  # @private
7374
7644
  class Representation < Google::Apis::Core::JsonRepresentation
7645
+ property :extracted_filter_behavior, as: 'extractedFilterBehavior'
7375
7646
  property :filter_extraction_condition, as: 'filterExtractionCondition'
7376
7647
  collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
7377
7648
  end
@@ -8308,6 +8579,7 @@ module Google
8308
8579
  # @private
8309
8580
  class Representation < Google::Apis::Core::JsonRepresentation
8310
8581
  collection :assist_skipped_reasons, as: 'assistSkippedReasons'
8582
+ property :name, as: 'name'
8311
8583
  collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply::Representation
8312
8584
 
8313
8585
  property :state, as: 'state'
@@ -8330,6 +8602,13 @@ module Google
8330
8602
  end
8331
8603
  end
8332
8604
 
8605
+ class GoogleCloudDiscoveryengineV1betaAssistant
8606
+ # @private
8607
+ class Representation < Google::Apis::Core::JsonRepresentation
8608
+ property :name, as: 'name'
8609
+ end
8610
+ end
8611
+
8333
8612
  class GoogleCloudDiscoveryengineV1betaAssistantContent
8334
8613
  # @private
8335
8614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10149,6 +10428,15 @@ module Google
10149
10428
  class Representation < Google::Apis::Core::JsonRepresentation
10150
10429
  property :accept_data_use_terms, as: 'acceptDataUseTerms'
10151
10430
  property :data_use_terms_version, as: 'dataUseTermsVersion'
10431
+ property :saas_params, as: 'saasParams', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams::Representation
10432
+
10433
+ end
10434
+ end
10435
+
10436
+ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams
10437
+ # @private
10438
+ class Representation < Google::Apis::Core::JsonRepresentation
10439
+ property :accept_biz_qos, as: 'acceptBizQos'
10152
10440
  end
10153
10441
  end
10154
10442
 
@@ -10756,6 +11044,7 @@ module Google
10756
11044
  class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
10757
11045
  # @private
10758
11046
  class Representation < Google::Apis::Core::JsonRepresentation
11047
+ property :extracted_filter_behavior, as: 'extractedFilterBehavior'
10759
11048
  property :filter_extraction_condition, as: 'filterExtractionCondition'
10760
11049
  collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
10761
11050
  end
@@ -11272,7 +11561,6 @@ module Google
11272
11561
  class Representation < Google::Apis::Core::JsonRepresentation
11273
11562
  property :image_generation_spec, as: 'imageGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec::Representation
11274
11563
 
11275
- property :tool_registry, as: 'toolRegistry'
11276
11564
  property :vertex_ai_search_spec, as: 'vertexAiSearchSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec::Representation
11277
11565
 
11278
11566
  property :video_generation_spec, as: 'videoGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec::Representation
@@ -11293,7 +11581,6 @@ module Google
11293
11581
  class Representation < Google::Apis::Core::JsonRepresentation
11294
11582
  collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
11295
11583
 
11296
- property :disabled, as: 'disabled'
11297
11584
  property :filter, as: 'filter'
11298
11585
  end
11299
11586
  end
@@ -11307,7 +11594,6 @@ module Google
11307
11594
  class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
11308
11595
  # @private
11309
11596
  class Representation < Google::Apis::Core::JsonRepresentation
11310
- property :enabled, as: 'enabled'
11311
11597
  end
11312
11598
  end
11313
11599
 
@@ -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::DiscoveryengineV1beta::GdataMedia] parsed result object
75
+ # @yieldparam err [StandardError] error object if request failed
76
+ #
77
+ # @return [Google::Apis::DiscoveryengineV1beta::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, 'v1beta/{+name}:downloadFile', options)
85
+ else
86
+ command = make_download_command(:get, 'v1beta/{+name}:downloadFile', options)
87
+ command.download_dest = download_dest
88
+ end
89
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GdataMedia::Representation
90
+ command.response_class = Google::Apis::DiscoveryengineV1beta::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
@@ -2647,9 +2692,12 @@ module Google
2647
2692
  # Required. The data store resource name. Format: `projects/`project`/locations/`
2648
2693
  # location`/collections/`collection`/dataStores/`data_store_id``
2649
2694
  # @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"
2695
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
2696
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
2697
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
2698
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
2699
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
2700
+ # `
2653
2701
  # @param [String] order_by
2654
2702
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
2655
2703
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -3945,6 +3993,76 @@ module Google
3945
3993
  execute_or_queue_command(command, &block)
3946
3994
  end
3947
3995
 
3996
+ # Gets an Assistant.
3997
+ # @param [String] name
3998
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
3999
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
4000
+ # @param [String] fields
4001
+ # Selector specifying which fields to include in a partial response.
4002
+ # @param [String] quota_user
4003
+ # Available to use for quota purposes for server-side applications. Can be any
4004
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4005
+ # @param [Google::Apis::RequestOptions] options
4006
+ # Request-specific options
4007
+ #
4008
+ # @yield [result, err] Result & error if block supplied
4009
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] parsed result object
4010
+ # @yieldparam err [StandardError] error object if request failed
4011
+ #
4012
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant]
4013
+ #
4014
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4015
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4016
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4017
+ def get_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
4018
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
4019
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
4020
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant
4021
+ command.params['name'] = name unless name.nil?
4022
+ command.query['fields'] = fields unless fields.nil?
4023
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4024
+ execute_or_queue_command(command, &block)
4025
+ end
4026
+
4027
+ # Updates an Assistant
4028
+ # @param [String] name
4029
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
4030
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
4031
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
4032
+ # characters.
4033
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] google_cloud_discoveryengine_v1beta_assistant_object
4034
+ # @param [String] update_mask
4035
+ # The list of fields to update.
4036
+ # @param [String] fields
4037
+ # Selector specifying which fields to include in a partial response.
4038
+ # @param [String] quota_user
4039
+ # Available to use for quota purposes for server-side applications. Can be any
4040
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4041
+ # @param [Google::Apis::RequestOptions] options
4042
+ # Request-specific options
4043
+ #
4044
+ # @yield [result, err] Result & error if block supplied
4045
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] parsed result object
4046
+ # @yieldparam err [StandardError] error object if request failed
4047
+ #
4048
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant]
4049
+ #
4050
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4051
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4052
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4053
+ 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)
4054
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
4055
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
4056
+ command.request_object = google_cloud_discoveryengine_v1beta_assistant_object
4057
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
4058
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant
4059
+ command.params['name'] = name unless name.nil?
4060
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4061
+ command.query['fields'] = fields unless fields.nil?
4062
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4063
+ execute_or_queue_command(command, &block)
4064
+ end
4065
+
3948
4066
  # Assists the user with a query in a streaming fashion.
3949
4067
  # @param [String] name
3950
4068
  # Required. The resource name of the Assistant. Format: `projects/`project`/
@@ -4969,9 +5087,12 @@ module Google
4969
5087
  # Required. The data store resource name. Format: `projects/`project`/locations/`
4970
5088
  # location`/collections/`collection`/dataStores/`data_store_id``
4971
5089
  # @param [String] filter
4972
- # A filter to apply on the list results. The supported features are:
4973
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
4974
- # true"
5090
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
5091
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
5092
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
5093
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
5094
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
5095
+ # `
4975
5096
  # @param [String] order_by
4976
5097
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
4977
5098
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -7182,9 +7303,12 @@ module Google
7182
7303
  # Required. The data store resource name. Format: `projects/`project`/locations/`
7183
7304
  # location`/collections/`collection`/dataStores/`data_store_id``
7184
7305
  # @param [String] filter
7185
- # A filter to apply on the list results. The supported features are:
7186
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
7187
- # true"
7306
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
7307
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
7308
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
7309
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
7310
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
7311
+ # `
7188
7312
  # @param [String] order_by
7189
7313
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
7190
7314
  # 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_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.76.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.74.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.76.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: