google-apis-discoveryengine_v1beta 0.92.0 → 0.93.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30b11589d92839364b805272e2a8b19de1fb651154b5808c50fc5a745e5641ef
4
- data.tar.gz: ab20b76e3076a49db7959ea2c806ca88b8396bc85f2ef3c7c67e5020843907cc
3
+ metadata.gz: 47ddd736b763d4192501d066d49b3f707e248e2095bac408ab68dc17df0bfb49
4
+ data.tar.gz: ebdc81cca6793f969adaa7581a148226e0dee8765ea9042b3c12b72ded95765f
5
5
  SHA512:
6
- metadata.gz: 7434aaf16f043bd08446d205844aa79290d392fb8c2982d3b0364eb660e464d3ccf4aae42b0f230f62f57bd005da80a250802332423e642a31279dbab761af1d
7
- data.tar.gz: aaa45833f068659bac96f5727b1dc73be957aa6bdaecffa8982e60f1903fddc3c7275684ed1b97d059bd692e0dc0d0abe964777ebddf7825e6a872b13eddd2c3
6
+ metadata.gz: 3a0841728f594e03b89ff0e1b21839b0bc3d767994aa666be60c0b02f3e09ad1b96da530ea6a246b03362d7c9a0aa43bd4e583b7a40c43076ddfe1ee731d8ed4
7
+ data.tar.gz: 59bd9695a401d65ea828137dc6e3ce7cf17a74f9e6520ad6a376a1eabbae5bd4c601271305eb9646a81fe2d18a55b491e61638b9c0dc83f7417a05a80cfb63b5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.93.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251217
6
+
3
7
  ### v0.92.0 (2025-12-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20251209
@@ -13345,15 +13345,22 @@ module Google
13345
13345
  # @return [String]
13346
13346
  attr_accessor :region_code
13347
13347
 
13348
+ # Relevance filtering specification.
13349
+ # Corresponds to the JSON property `relevanceFilterSpec`
13350
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
13351
+ attr_accessor :relevance_filter_spec
13352
+
13348
13353
  # The specification for returning the document relevance score.
13349
13354
  # Corresponds to the JSON property `relevanceScoreSpec`
13350
13355
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
13351
13356
  attr_accessor :relevance_score_spec
13352
13357
 
13353
- # The relevance threshold of the search results. Default to Google defined
13354
- # threshold, leveraging a balance of precision and recall to deliver both highly
13355
- # accurate results and comprehensive coverage of relevant information. This
13356
- # feature is not supported for healthcare search.
13358
+ # The global relevance threshold of the search results. Defaults to Google
13359
+ # defined threshold, leveraging a balance of precision and recall to deliver
13360
+ # both highly accurate results and comprehensive coverage of relevant
13361
+ # information. If more granular relevance filtering is required, use the `
13362
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
13363
+ # search.
13357
13364
  # Corresponds to the JSON property `relevanceThreshold`
13358
13365
  # @return [String]
13359
13366
  attr_accessor :relevance_threshold
@@ -13489,6 +13496,7 @@ module Google
13489
13496
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
13490
13497
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
13491
13498
  @region_code = args[:region_code] if args.key?(:region_code)
13499
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
13492
13500
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
13493
13501
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
13494
13502
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -14442,6 +14450,56 @@ module Google
14442
14450
  end
14443
14451
  end
14444
14452
 
14453
+ # Relevance filtering specification.
14454
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
14455
+ include Google::Apis::Core::Hashable
14456
+
14457
+ # Specification for relevance filtering on a specific sub-search.
14458
+ # Corresponds to the JSON property `keywordSearchThreshold`
14459
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
14460
+ attr_accessor :keyword_search_threshold
14461
+
14462
+ # Specification for relevance filtering on a specific sub-search.
14463
+ # Corresponds to the JSON property `semanticSearchThreshold`
14464
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
14465
+ attr_accessor :semantic_search_threshold
14466
+
14467
+ def initialize(**args)
14468
+ update!(**args)
14469
+ end
14470
+
14471
+ # Update properties of this object
14472
+ def update!(**args)
14473
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
14474
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
14475
+ end
14476
+ end
14477
+
14478
+ # Specification for relevance filtering on a specific sub-search.
14479
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
14480
+ include Google::Apis::Core::Hashable
14481
+
14482
+ # Pre-defined relevance threshold for the sub-search.
14483
+ # Corresponds to the JSON property `relevanceThreshold`
14484
+ # @return [String]
14485
+ attr_accessor :relevance_threshold
14486
+
14487
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
14488
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
14489
+ # @return [Float]
14490
+ attr_accessor :semantic_relevance_threshold
14491
+
14492
+ def initialize(**args)
14493
+ update!(**args)
14494
+ end
14495
+
14496
+ # Update properties of this object
14497
+ def update!(**args)
14498
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
14499
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
14500
+ end
14501
+ end
14502
+
14445
14503
  # The specification for returning the document relevance score.
14446
14504
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
14447
14505
  include Google::Apis::Core::Hashable
@@ -26650,15 +26708,22 @@ module Google
26650
26708
  # @return [String]
26651
26709
  attr_accessor :region_code
26652
26710
 
26711
+ # Relevance filtering specification.
26712
+ # Corresponds to the JSON property `relevanceFilterSpec`
26713
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
26714
+ attr_accessor :relevance_filter_spec
26715
+
26653
26716
  # The specification for returning the document relevance score.
26654
26717
  # Corresponds to the JSON property `relevanceScoreSpec`
26655
26718
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
26656
26719
  attr_accessor :relevance_score_spec
26657
26720
 
26658
- # The relevance threshold of the search results. Default to Google defined
26659
- # threshold, leveraging a balance of precision and recall to deliver both highly
26660
- # accurate results and comprehensive coverage of relevant information. This
26661
- # feature is not supported for healthcare search.
26721
+ # The global relevance threshold of the search results. Defaults to Google
26722
+ # defined threshold, leveraging a balance of precision and recall to deliver
26723
+ # both highly accurate results and comprehensive coverage of relevant
26724
+ # information. If more granular relevance filtering is required, use the `
26725
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
26726
+ # search.
26662
26727
  # Corresponds to the JSON property `relevanceThreshold`
26663
26728
  # @return [String]
26664
26729
  attr_accessor :relevance_threshold
@@ -26784,6 +26849,7 @@ module Google
26784
26849
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
26785
26850
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
26786
26851
  @region_code = args[:region_code] if args.key?(:region_code)
26852
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
26787
26853
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
26788
26854
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
26789
26855
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -27736,6 +27802,56 @@ module Google
27736
27802
  end
27737
27803
  end
27738
27804
 
27805
+ # Relevance filtering specification.
27806
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
27807
+ include Google::Apis::Core::Hashable
27808
+
27809
+ # Specification for relevance filtering on a specific sub-search.
27810
+ # Corresponds to the JSON property `keywordSearchThreshold`
27811
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
27812
+ attr_accessor :keyword_search_threshold
27813
+
27814
+ # Specification for relevance filtering on a specific sub-search.
27815
+ # Corresponds to the JSON property `semanticSearchThreshold`
27816
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
27817
+ attr_accessor :semantic_search_threshold
27818
+
27819
+ def initialize(**args)
27820
+ update!(**args)
27821
+ end
27822
+
27823
+ # Update properties of this object
27824
+ def update!(**args)
27825
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
27826
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
27827
+ end
27828
+ end
27829
+
27830
+ # Specification for relevance filtering on a specific sub-search.
27831
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
27832
+ include Google::Apis::Core::Hashable
27833
+
27834
+ # Pre-defined relevance threshold for the sub-search.
27835
+ # Corresponds to the JSON property `relevanceThreshold`
27836
+ # @return [String]
27837
+ attr_accessor :relevance_threshold
27838
+
27839
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
27840
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
27841
+ # @return [Float]
27842
+ attr_accessor :semantic_relevance_threshold
27843
+
27844
+ def initialize(**args)
27845
+ update!(**args)
27846
+ end
27847
+
27848
+ # Update properties of this object
27849
+ def update!(**args)
27850
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
27851
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
27852
+ end
27853
+ end
27854
+
27739
27855
  # The specification for returning the document relevance score.
27740
27856
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
27741
27857
  include Google::Apis::Core::Hashable
@@ -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.92.0"
19
+ GEM_VERSION = "0.93.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 = "20251209"
25
+ REVISION = "20251217"
26
26
  end
27
27
  end
28
28
  end
@@ -2206,6 +2206,18 @@ module Google
2206
2206
  include Google::Apis::Core::JsonObjectSupport
2207
2207
  end
2208
2208
 
2209
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
2210
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2211
+
2212
+ include Google::Apis::Core::JsonObjectSupport
2213
+ end
2214
+
2215
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
2216
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2217
+
2218
+ include Google::Apis::Core::JsonObjectSupport
2219
+ end
2220
+
2209
2221
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
2210
2222
  class Representation < Google::Apis::Core::JsonRepresentation; end
2211
2223
 
@@ -4414,6 +4426,18 @@ module Google
4414
4426
  include Google::Apis::Core::JsonObjectSupport
4415
4427
  end
4416
4428
 
4429
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
4430
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4431
+
4432
+ include Google::Apis::Core::JsonObjectSupport
4433
+ end
4434
+
4435
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
4436
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4437
+
4438
+ include Google::Apis::Core::JsonObjectSupport
4439
+ end
4440
+
4417
4441
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
4418
4442
  class Representation < Google::Apis::Core::JsonRepresentation; end
4419
4443
 
@@ -8478,6 +8502,8 @@ module Google
8478
8502
  property :ranking_expression, as: 'rankingExpression'
8479
8503
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
8480
8504
  property :region_code, as: 'regionCode'
8505
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec::Representation
8506
+
8481
8507
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation
8482
8508
 
8483
8509
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -8721,6 +8747,24 @@ module Google
8721
8747
  end
8722
8748
  end
8723
8749
 
8750
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
8751
+ # @private
8752
+ class Representation < Google::Apis::Core::JsonRepresentation
8753
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
8754
+
8755
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
8756
+
8757
+ end
8758
+ end
8759
+
8760
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
8761
+ # @private
8762
+ class Representation < Google::Apis::Core::JsonRepresentation
8763
+ property :relevance_threshold, as: 'relevanceThreshold'
8764
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
8765
+ end
8766
+ end
8767
+
8724
8768
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
8725
8769
  # @private
8726
8770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12158,6 +12202,8 @@ module Google
12158
12202
  property :ranking_expression, as: 'rankingExpression'
12159
12203
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
12160
12204
  property :region_code, as: 'regionCode'
12205
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec::Representation
12206
+
12161
12207
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation
12162
12208
 
12163
12209
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -12400,6 +12446,24 @@ module Google
12400
12446
  end
12401
12447
  end
12402
12448
 
12449
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
12450
+ # @private
12451
+ class Representation < Google::Apis::Core::JsonRepresentation
12452
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
12453
+
12454
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
12455
+
12456
+ end
12457
+ end
12458
+
12459
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
12460
+ # @private
12461
+ class Representation < Google::Apis::Core::JsonRepresentation
12462
+ property :relevance_threshold, as: 'relevanceThreshold'
12463
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
12464
+ end
12465
+ end
12466
+
12403
12467
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
12404
12468
  # @private
12405
12469
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2377,6 +2377,48 @@ module Google
2377
2377
  execute_or_queue_command(command, &block)
2378
2378
  end
2379
2379
 
2380
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
2381
+ # default serving config. Additional ServingConfigs can be created and managed
2382
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
2383
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
2384
+ # @param [String] parent
2385
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
2386
+ # location`/collections/`collection`/engines/`engine``
2387
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
2388
+ # @param [String] serving_config_id
2389
+ # Required. The ID to use for the ServingConfig, which will become the final
2390
+ # component of the ServingConfig's resource name. This value should be 4-63
2391
+ # characters, and valid characters are /a-zA-Z0-9+/.
2392
+ # @param [String] fields
2393
+ # Selector specifying which fields to include in a partial response.
2394
+ # @param [String] quota_user
2395
+ # Available to use for quota purposes for server-side applications. Can be any
2396
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2397
+ # @param [Google::Apis::RequestOptions] options
2398
+ # Request-specific options
2399
+ #
2400
+ # @yield [result, err] Result & error if block supplied
2401
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] parsed result object
2402
+ # @yieldparam err [StandardError] error object if request failed
2403
+ #
2404
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig]
2405
+ #
2406
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2407
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2408
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2409
+ def create_project_location_collection_data_store_serving_config(parent, google_cloud_discoveryengine_v1beta_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2410
+ command = make_simple_command(:post, 'v1beta/{+parent}/servingConfigs', options)
2411
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
2412
+ command.request_object = google_cloud_discoveryengine_v1beta_serving_config_object
2413
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
2414
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig
2415
+ command.params['parent'] = parent unless parent.nil?
2416
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
2417
+ command.query['fields'] = fields unless fields.nil?
2418
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2419
+ execute_or_queue_command(command, &block)
2420
+ end
2421
+
2380
2422
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
2381
2423
  # not exist.
2382
2424
  # @param [String] name
@@ -4979,6 +5021,48 @@ module Google
4979
5021
  execute_or_queue_command(command, &block)
4980
5022
  end
4981
5023
 
5024
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
5025
+ # default serving config. Additional ServingConfigs can be created and managed
5026
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
5027
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
5028
+ # @param [String] parent
5029
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
5030
+ # location`/collections/`collection`/engines/`engine``
5031
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
5032
+ # @param [String] serving_config_id
5033
+ # Required. The ID to use for the ServingConfig, which will become the final
5034
+ # component of the ServingConfig's resource name. This value should be 4-63
5035
+ # characters, and valid characters are /a-zA-Z0-9+/.
5036
+ # @param [String] fields
5037
+ # Selector specifying which fields to include in a partial response.
5038
+ # @param [String] quota_user
5039
+ # Available to use for quota purposes for server-side applications. Can be any
5040
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5041
+ # @param [Google::Apis::RequestOptions] options
5042
+ # Request-specific options
5043
+ #
5044
+ # @yield [result, err] Result & error if block supplied
5045
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] parsed result object
5046
+ # @yieldparam err [StandardError] error object if request failed
5047
+ #
5048
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig]
5049
+ #
5050
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5051
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5052
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5053
+ def create_project_location_collection_engine_serving_config(parent, google_cloud_discoveryengine_v1beta_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5054
+ command = make_simple_command(:post, 'v1beta/{+parent}/servingConfigs', options)
5055
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
5056
+ command.request_object = google_cloud_discoveryengine_v1beta_serving_config_object
5057
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
5058
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig
5059
+ command.params['parent'] = parent unless parent.nil?
5060
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
5061
+ command.query['fields'] = fields unless fields.nil?
5062
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5063
+ execute_or_queue_command(command, &block)
5064
+ end
5065
+
4982
5066
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
4983
5067
  # not exist.
4984
5068
  # @param [String] name
@@ -7264,6 +7348,48 @@ module Google
7264
7348
  execute_or_queue_command(command, &block)
7265
7349
  end
7266
7350
 
7351
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
7352
+ # default serving config. Additional ServingConfigs can be created and managed
7353
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
7354
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
7355
+ # @param [String] parent
7356
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
7357
+ # location`/collections/`collection`/engines/`engine``
7358
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
7359
+ # @param [String] serving_config_id
7360
+ # Required. The ID to use for the ServingConfig, which will become the final
7361
+ # component of the ServingConfig's resource name. This value should be 4-63
7362
+ # characters, and valid characters are /a-zA-Z0-9+/.
7363
+ # @param [String] fields
7364
+ # Selector specifying which fields to include in a partial response.
7365
+ # @param [String] quota_user
7366
+ # Available to use for quota purposes for server-side applications. Can be any
7367
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7368
+ # @param [Google::Apis::RequestOptions] options
7369
+ # Request-specific options
7370
+ #
7371
+ # @yield [result, err] Result & error if block supplied
7372
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] parsed result object
7373
+ # @yieldparam err [StandardError] error object if request failed
7374
+ #
7375
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig]
7376
+ #
7377
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7378
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7379
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7380
+ def create_project_location_data_store_serving_config(parent, google_cloud_discoveryengine_v1beta_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
7381
+ command = make_simple_command(:post, 'v1beta/{+parent}/servingConfigs', options)
7382
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
7383
+ command.request_object = google_cloud_discoveryengine_v1beta_serving_config_object
7384
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
7385
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig
7386
+ command.params['parent'] = parent unless parent.nil?
7387
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
7388
+ command.query['fields'] = fields unless fields.nil?
7389
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7390
+ execute_or_queue_command(command, &block)
7391
+ end
7392
+
7267
7393
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7268
7394
  # not exist.
7269
7395
  # @param [String] name
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.92.0
4
+ version: 0.93.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.92.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.93.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: