google-apis-discoveryengine_v1beta 0.91.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: 0ceb0dcb534a0ae9e6ec2e367be53e597e9a136a1dd3206749cb775bde85570c
4
- data.tar.gz: d9466968878864b839662a153b699eefc905b0d1d417c9921e5d02927dc43202
3
+ metadata.gz: 47ddd736b763d4192501d066d49b3f707e248e2095bac408ab68dc17df0bfb49
4
+ data.tar.gz: ebdc81cca6793f969adaa7581a148226e0dee8765ea9042b3c12b72ded95765f
5
5
  SHA512:
6
- metadata.gz: ee87ccd1556473b7e2270dab7f03204877a216d0d66611040e9e201dfa94802b8e46f4279b9dc5bf4789dff5202dc25ee4ab2282cc0ca332c9675d9ed825ec96
7
- data.tar.gz: 04fdab7bffeb3c7d4d0cd3e159e3887a8c40dd2789d7a7ff2302c4153a0e0156bebf699c3b02831cbdec48974cb4d926870ba14a16c17bf975120bc589a610c5
6
+ metadata.gz: 3a0841728f594e03b89ff0e1b21839b0bc3d767994aa666be60c0b02f3e09ad1b96da530ea6a246b03362d7c9a0aa43bd4e583b7a40c43076ddfe1ee731d8ed4
7
+ data.tar.gz: 59bd9695a401d65ea828137dc6e3ce7cf17a74f9e6520ad6a376a1eabbae5bd4c601271305eb9646a81fe2d18a55b491e61638b9c0dc83f7417a05a80cfb63b5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.92.0 (2025-12-14)
8
+
9
+ * Regenerated from discovery document revision 20251209
10
+
3
11
  ### v0.91.0 (2025-12-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20251203
@@ -2681,6 +2681,11 @@ module Google
2681
2681
  # @return [String]
2682
2682
  attr_accessor :name
2683
2683
 
2684
+ # Configuration for Natural Language Query Understanding.
2685
+ # Corresponds to the JSON property `naturalLanguageQueryUnderstandingConfig`
2686
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig]
2687
+ attr_accessor :natural_language_query_understanding_config
2688
+
2684
2689
  # Stores information regarding the serving configurations at DataStore level.
2685
2690
  # Corresponds to the JSON property `servingConfigDataStore`
2686
2691
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore]
@@ -2727,6 +2732,7 @@ module Google
2727
2732
  @is_infobot_faq_data_store = args[:is_infobot_faq_data_store] if args.key?(:is_infobot_faq_data_store)
2728
2733
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2729
2734
  @name = args[:name] if args.key?(:name)
2735
+ @natural_language_query_understanding_config = args[:natural_language_query_understanding_config] if args.key?(:natural_language_query_understanding_config)
2730
2736
  @serving_config_data_store = args[:serving_config_data_store] if args.key?(:serving_config_data_store)
2731
2737
  @solution_types = args[:solution_types] if args.key?(:solution_types)
2732
2738
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -4435,6 +4441,26 @@ module Google
4435
4441
  end
4436
4442
  end
4437
4443
 
4444
+ # Configuration for Natural Language Query Understanding.
4445
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
4446
+ include Google::Apis::Core::Hashable
4447
+
4448
+ # Mode of Natural Language Query Understanding. If this field is unset, the
4449
+ # behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
4450
+ # Corresponds to the JSON property `mode`
4451
+ # @return [String]
4452
+ attr_accessor :mode
4453
+
4454
+ def initialize(**args)
4455
+ update!(**args)
4456
+ end
4457
+
4458
+ # Update properties of this object
4459
+ def update!(**args)
4460
+ @mode = args[:mode] if args.key?(:mode)
4461
+ end
4462
+ end
4463
+
4438
4464
  # Metadata and configurations for a Google Cloud project in the service.
4439
4465
  class GoogleCloudDiscoveryengineV1Project
4440
4466
  include Google::Apis::Core::Hashable
@@ -13198,11 +13224,12 @@ module Google
13198
13224
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
13199
13225
  # of the query for browse (navigation) queries. It's used by the browse model
13200
13226
  # when the query is empty. If the field is empty, it will not be used by the
13201
- # browse model. To represent full path of a category, use '>' character to
13202
- # separate different hierarchies. If '>' is part of the category name, replace
13203
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
13204
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
13205
- # Graphics Cards > RTX_4090 > Founders Edition`
13227
+ # browse model. If the field contains more than one element, only the first
13228
+ # element will be used. To represent full path of a category, use '>' character
13229
+ # to separate different hierarchies. If '>' is part of the category name,
13230
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
13231
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
13232
+ # `Graphics Cards > RTX_4090 > Founders Edition`
13206
13233
  # Corresponds to the JSON property `pageCategories`
13207
13234
  # @return [Array<String>]
13208
13235
  attr_accessor :page_categories
@@ -13318,15 +13345,22 @@ module Google
13318
13345
  # @return [String]
13319
13346
  attr_accessor :region_code
13320
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
+
13321
13353
  # The specification for returning the document relevance score.
13322
13354
  # Corresponds to the JSON property `relevanceScoreSpec`
13323
13355
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
13324
13356
  attr_accessor :relevance_score_spec
13325
13357
 
13326
- # The relevance threshold of the search results. Default to Google defined
13327
- # threshold, leveraging a balance of precision and recall to deliver both highly
13328
- # accurate results and comprehensive coverage of relevant information. This
13329
- # 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.
13330
13364
  # Corresponds to the JSON property `relevanceThreshold`
13331
13365
  # @return [String]
13332
13366
  attr_accessor :relevance_threshold
@@ -13462,6 +13496,7 @@ module Google
13462
13496
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
13463
13497
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
13464
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)
13465
13500
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
13466
13501
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
13467
13502
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -14415,6 +14450,56 @@ module Google
14415
14450
  end
14416
14451
  end
14417
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
+
14418
14503
  # The specification for returning the document relevance score.
14419
14504
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
14420
14505
  include Google::Apis::Core::Hashable
@@ -26502,11 +26587,12 @@ module Google
26502
26587
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
26503
26588
  # of the query for browse (navigation) queries. It's used by the browse model
26504
26589
  # when the query is empty. If the field is empty, it will not be used by the
26505
- # browse model. To represent full path of a category, use '>' character to
26506
- # separate different hierarchies. If '>' is part of the category name, replace
26507
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
26508
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
26509
- # Graphics Cards > RTX_4090 > Founders Edition`
26590
+ # browse model. If the field contains more than one element, only the first
26591
+ # element will be used. To represent full path of a category, use '>' character
26592
+ # to separate different hierarchies. If '>' is part of the category name,
26593
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
26594
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
26595
+ # `Graphics Cards > RTX_4090 > Founders Edition`
26510
26596
  # Corresponds to the JSON property `pageCategories`
26511
26597
  # @return [Array<String>]
26512
26598
  attr_accessor :page_categories
@@ -26622,15 +26708,22 @@ module Google
26622
26708
  # @return [String]
26623
26709
  attr_accessor :region_code
26624
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
+
26625
26716
  # The specification for returning the document relevance score.
26626
26717
  # Corresponds to the JSON property `relevanceScoreSpec`
26627
26718
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
26628
26719
  attr_accessor :relevance_score_spec
26629
26720
 
26630
- # The relevance threshold of the search results. Default to Google defined
26631
- # threshold, leveraging a balance of precision and recall to deliver both highly
26632
- # accurate results and comprehensive coverage of relevant information. This
26633
- # 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.
26634
26727
  # Corresponds to the JSON property `relevanceThreshold`
26635
26728
  # @return [String]
26636
26729
  attr_accessor :relevance_threshold
@@ -26756,6 +26849,7 @@ module Google
26756
26849
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
26757
26850
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
26758
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)
26759
26853
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
26760
26854
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
26761
26855
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -27708,6 +27802,56 @@ module Google
27708
27802
  end
27709
27803
  end
27710
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
+
27711
27855
  # The specification for returning the document relevance score.
27712
27856
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
27713
27857
  include Google::Apis::Core::Hashable
@@ -30412,15 +30556,15 @@ module Google
30412
30556
  # @return [String]
30413
30557
  attr_accessor :event_type
30414
30558
 
30415
- # The filter syntax consists of an expression language for constructing a
30416
- # predicate from one or more fields of the documents being filtered. One example
30417
- # is for `search` events, the associated SearchRequest may contain a filter
30418
- # expression in SearchRequest.filter conforming to https://google.aip.dev/160#
30419
- # filtering. Similarly, for `view-item-list` events that are generated from a
30420
- # RecommendRequest, this field may be populated directly from RecommendRequest.
30421
- # filter conforming to https://google.aip.dev/160#filtering. The value must be a
30422
- # UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `
30423
- # INVALID_ARGUMENT` error is returned.
30559
+ # Optional. The filter syntax consists of an expression language for
30560
+ # constructing a predicate from one or more fields of the documents being
30561
+ # filtered. One example is for `search` events, the associated SearchRequest may
30562
+ # contain a filter expression in SearchRequest.filter conforming to https://
30563
+ # google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
30564
+ # generated from a RecommendRequest, this field may be populated directly from
30565
+ # RecommendRequest.filter conforming to https://google.aip.dev/160#filtering.
30566
+ # The value must be a UTF-8 encoded string with a length limit of 1,000
30567
+ # characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
30424
30568
  # Corresponds to the JSON property `filter`
30425
30569
  # @return [String]
30426
30570
  attr_accessor :filter
@@ -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.91.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 = "20251203"
25
+ REVISION = "20251217"
26
26
  end
27
27
  end
28
28
  end
@@ -700,6 +700,12 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
703
709
  class GoogleCloudDiscoveryengineV1Project
704
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
711
 
@@ -2200,6 +2206,18 @@ module Google
2200
2206
  include Google::Apis::Core::JsonObjectSupport
2201
2207
  end
2202
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
+
2203
2221
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
2204
2222
  class Representation < Google::Apis::Core::JsonRepresentation; end
2205
2223
 
@@ -4408,6 +4426,18 @@ module Google
4408
4426
  include Google::Apis::Core::JsonObjectSupport
4409
4427
  end
4410
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
+
4411
4441
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
4412
4442
  class Representation < Google::Apis::Core::JsonRepresentation; end
4413
4443
 
@@ -5619,6 +5649,8 @@ module Google
5619
5649
  property :is_infobot_faq_data_store, as: 'isInfobotFaqDataStore'
5620
5650
  property :kms_key_name, as: 'kmsKeyName'
5621
5651
  property :name, as: 'name'
5652
+ property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig::Representation
5653
+
5622
5654
  property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore::Representation
5623
5655
 
5624
5656
  collection :solution_types, as: 'solutionTypes'
@@ -6102,6 +6134,13 @@ module Google
6102
6134
  end
6103
6135
  end
6104
6136
 
6137
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
6138
+ # @private
6139
+ class Representation < Google::Apis::Core::JsonRepresentation
6140
+ property :mode, as: 'mode'
6141
+ end
6142
+ end
6143
+
6105
6144
  class GoogleCloudDiscoveryengineV1Project
6106
6145
  # @private
6107
6146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8463,6 +8502,8 @@ module Google
8463
8502
  property :ranking_expression, as: 'rankingExpression'
8464
8503
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
8465
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
+
8466
8507
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation
8467
8508
 
8468
8509
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -8706,6 +8747,24 @@ module Google
8706
8747
  end
8707
8748
  end
8708
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
+
8709
8768
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
8710
8769
  # @private
8711
8770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12143,6 +12202,8 @@ module Google
12143
12202
  property :ranking_expression, as: 'rankingExpression'
12144
12203
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
12145
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
+
12146
12207
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation
12147
12208
 
12148
12209
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -12385,6 +12446,24 @@ module Google
12385
12446
  end
12386
12447
  end
12387
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
+
12388
12467
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
12389
12468
  # @private
12390
12469
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2377,6 +2377,81 @@ 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
+
2422
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
2423
+ # not exist.
2424
+ # @param [String] name
2425
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
2426
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
2427
+ # servingConfigs/`serving_config_id``
2428
+ # @param [String] fields
2429
+ # Selector specifying which fields to include in a partial response.
2430
+ # @param [String] quota_user
2431
+ # Available to use for quota purposes for server-side applications. Can be any
2432
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2433
+ # @param [Google::Apis::RequestOptions] options
2434
+ # Request-specific options
2435
+ #
2436
+ # @yield [result, err] Result & error if block supplied
2437
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
2438
+ # @yieldparam err [StandardError] error object if request failed
2439
+ #
2440
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
2441
+ #
2442
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2443
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2444
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2445
+ def delete_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
2446
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
2447
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
2448
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
2449
+ command.params['name'] = name unless name.nil?
2450
+ command.query['fields'] = fields unless fields.nil?
2451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2452
+ execute_or_queue_command(command, &block)
2453
+ end
2454
+
2380
2455
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
2381
2456
  # exist.
2382
2457
  # @param [String] name
@@ -4946,6 +5021,81 @@ module Google
4946
5021
  execute_or_queue_command(command, &block)
4947
5022
  end
4948
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
+
5066
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
5067
+ # not exist.
5068
+ # @param [String] name
5069
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
5070
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
5071
+ # servingConfigs/`serving_config_id``
5072
+ # @param [String] fields
5073
+ # Selector specifying which fields to include in a partial response.
5074
+ # @param [String] quota_user
5075
+ # Available to use for quota purposes for server-side applications. Can be any
5076
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5077
+ # @param [Google::Apis::RequestOptions] options
5078
+ # Request-specific options
5079
+ #
5080
+ # @yield [result, err] Result & error if block supplied
5081
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
5082
+ # @yieldparam err [StandardError] error object if request failed
5083
+ #
5084
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
5085
+ #
5086
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5087
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5088
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5089
+ def delete_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
5090
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
5091
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
5092
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
5093
+ command.params['name'] = name unless name.nil?
5094
+ command.query['fields'] = fields unless fields.nil?
5095
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5096
+ execute_or_queue_command(command, &block)
5097
+ end
5098
+
4949
5099
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
4950
5100
  # exist.
4951
5101
  # @param [String] name
@@ -7198,6 +7348,81 @@ module Google
7198
7348
  execute_or_queue_command(command, &block)
7199
7349
  end
7200
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
+
7393
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7394
+ # not exist.
7395
+ # @param [String] name
7396
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
7397
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7398
+ # servingConfigs/`serving_config_id``
7399
+ # @param [String] fields
7400
+ # Selector specifying which fields to include in a partial response.
7401
+ # @param [String] quota_user
7402
+ # Available to use for quota purposes for server-side applications. Can be any
7403
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7404
+ # @param [Google::Apis::RequestOptions] options
7405
+ # Request-specific options
7406
+ #
7407
+ # @yield [result, err] Result & error if block supplied
7408
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
7409
+ # @yieldparam err [StandardError] error object if request failed
7410
+ #
7411
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
7412
+ #
7413
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7414
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7415
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7416
+ def delete_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
7417
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
7418
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
7419
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
7420
+ command.params['name'] = name unless name.nil?
7421
+ command.query['fields'] = fields unless fields.nil?
7422
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7423
+ execute_or_queue_command(command, &block)
7424
+ end
7425
+
7201
7426
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
7202
7427
  # exist.
7203
7428
  # @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.91.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.91.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: