google-apis-discoveryengine_v1alpha 0.86.0 → 0.87.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: '080c6e4e60acd0cc97d4f16ac99c7017f40aa6b77de57f2f78b7a110a71ff475'
4
- data.tar.gz: f80d74d1896674d68196fe420a740a7592afe68eea514fbc01137c91dba0482f
3
+ metadata.gz: dbe11568f2bf0af08ae1dfbc9de31f3a82d812d64d66360b680f9fefd2f85c70
4
+ data.tar.gz: 9a5a6760cb2e2e35d28f681137a0c25731505d818b616277ca4473d2729e4613
5
5
  SHA512:
6
- metadata.gz: 2e66fe4a8e7a84fdd8325f3190dbfbb915889f43fa421e0ab6719fb0051c65c893303e004f0e23f0fa5ba4e79132c77b142986610a1792d4b6461a2886d1118d
7
- data.tar.gz: de5860950d2e3d1b2ae9e7987b30e3c6e038bb4fdd2ffc72fb77fdd7b1714ad02c4c3e7b15c66da6f5660f95407e98f0e79d051a4492fe1035ffe0e63a55c6ba
6
+ metadata.gz: 869afd36d6cd5b36c6404196c593e731f9f7f0994f0136402203fb6339508b54d913a26612d4d5c409e0c755972fb95e5df92cdd00c08ef817622061ad776a09
7
+ data.tar.gz: 3953045861b425e77f607483c0c2d818f1cc723a0fe859c6adcce927d6a77758fa37f2078647b0ca4ef524e1f9c4213e4e8bd855bf8dff9aacb403d45a08a10b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.87.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251217
6
+
3
7
  ### v0.86.0 (2025-12-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20251209
@@ -6150,6 +6150,11 @@ module Google
6150
6150
  class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition
6151
6151
  include Google::Apis::Core::Hashable
6152
6152
 
6153
+ # Configuration specific to agents that are deployed from Cloud Marketplace.
6154
+ # Corresponds to the JSON property `cloudMarketplaceConfig`
6155
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig]
6156
+ attr_accessor :cloud_marketplace_config
6157
+
6153
6158
  # Optional. The agent card is a JSON string.
6154
6159
  # Corresponds to the JSON property `jsonAgentCard`
6155
6160
  # @return [String]
@@ -6161,10 +6166,38 @@ module Google
6161
6166
 
6162
6167
  # Update properties of this object
6163
6168
  def update!(**args)
6169
+ @cloud_marketplace_config = args[:cloud_marketplace_config] if args.key?(:cloud_marketplace_config)
6164
6170
  @json_agent_card = args[:json_agent_card] if args.key?(:json_agent_card)
6165
6171
  end
6166
6172
  end
6167
6173
 
6174
+ # Configuration specific to agents that are deployed from Cloud Marketplace.
6175
+ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig
6176
+ include Google::Apis::Core::Hashable
6177
+
6178
+ # Required. The Marketplace Entitlement this agent is associated with. Format: `
6179
+ # projects/`project`/entitlements/`entitlement``.
6180
+ # Corresponds to the JSON property `entitlement`
6181
+ # @return [String]
6182
+ attr_accessor :entitlement
6183
+
6184
+ # Output only. The Marketplace Order this agent belongs to. Format: `
6185
+ # billingAccounts/`billing_account`/orders/`order``
6186
+ # Corresponds to the JSON property `order`
6187
+ # @return [String]
6188
+ attr_accessor :order
6189
+
6190
+ def initialize(**args)
6191
+ update!(**args)
6192
+ end
6193
+
6194
+ # Update properties of this object
6195
+ def update!(**args)
6196
+ @entitlement = args[:entitlement] if args.key?(:entitlement)
6197
+ @order = args[:order] if args.key?(:order)
6198
+ end
6199
+ end
6200
+
6168
6201
  # Access Control Configuration.
6169
6202
  class GoogleCloudDiscoveryengineV1alphaAclConfig
6170
6203
  include Google::Apis::Core::Hashable
@@ -21806,15 +21839,22 @@ module Google
21806
21839
  # @return [String]
21807
21840
  attr_accessor :region_code
21808
21841
 
21842
+ # Relevance filtering specification.
21843
+ # Corresponds to the JSON property `relevanceFilterSpec`
21844
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
21845
+ attr_accessor :relevance_filter_spec
21846
+
21809
21847
  # The specification for returning the document relevance score.
21810
21848
  # Corresponds to the JSON property `relevanceScoreSpec`
21811
21849
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
21812
21850
  attr_accessor :relevance_score_spec
21813
21851
 
21814
- # The relevance threshold of the search results. Default to Google defined
21815
- # threshold, leveraging a balance of precision and recall to deliver both highly
21816
- # accurate results and comprehensive coverage of relevant information. This
21817
- # feature is not supported for healthcare search.
21852
+ # The global relevance threshold of the search results. Defaults to Google
21853
+ # defined threshold, leveraging a balance of precision and recall to deliver
21854
+ # both highly accurate results and comprehensive coverage of relevant
21855
+ # information. If more granular relevance filtering is required, use the `
21856
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
21857
+ # search.
21818
21858
  # Corresponds to the JSON property `relevanceThreshold`
21819
21859
  # @return [String]
21820
21860
  attr_accessor :relevance_threshold
@@ -21950,6 +21990,7 @@ module Google
21950
21990
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
21951
21991
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
21952
21992
  @region_code = args[:region_code] if args.key?(:region_code)
21993
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
21953
21994
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
21954
21995
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
21955
21996
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -22903,6 +22944,56 @@ module Google
22903
22944
  end
22904
22945
  end
22905
22946
 
22947
+ # Relevance filtering specification.
22948
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
22949
+ include Google::Apis::Core::Hashable
22950
+
22951
+ # Specification for relevance filtering on a specific sub-search.
22952
+ # Corresponds to the JSON property `keywordSearchThreshold`
22953
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
22954
+ attr_accessor :keyword_search_threshold
22955
+
22956
+ # Specification for relevance filtering on a specific sub-search.
22957
+ # Corresponds to the JSON property `semanticSearchThreshold`
22958
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
22959
+ attr_accessor :semantic_search_threshold
22960
+
22961
+ def initialize(**args)
22962
+ update!(**args)
22963
+ end
22964
+
22965
+ # Update properties of this object
22966
+ def update!(**args)
22967
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
22968
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
22969
+ end
22970
+ end
22971
+
22972
+ # Specification for relevance filtering on a specific sub-search.
22973
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
22974
+ include Google::Apis::Core::Hashable
22975
+
22976
+ # Pre-defined relevance threshold for the sub-search.
22977
+ # Corresponds to the JSON property `relevanceThreshold`
22978
+ # @return [String]
22979
+ attr_accessor :relevance_threshold
22980
+
22981
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
22982
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
22983
+ # @return [Float]
22984
+ attr_accessor :semantic_relevance_threshold
22985
+
22986
+ def initialize(**args)
22987
+ update!(**args)
22988
+ end
22989
+
22990
+ # Update properties of this object
22991
+ def update!(**args)
22992
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
22993
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
22994
+ end
22995
+ end
22996
+
22906
22997
  # The specification for returning the document relevance score.
22907
22998
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
22908
22999
  include Google::Apis::Core::Hashable
@@ -31099,15 +31190,22 @@ module Google
31099
31190
  # @return [String]
31100
31191
  attr_accessor :region_code
31101
31192
 
31193
+ # Relevance filtering specification.
31194
+ # Corresponds to the JSON property `relevanceFilterSpec`
31195
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
31196
+ attr_accessor :relevance_filter_spec
31197
+
31102
31198
  # The specification for returning the document relevance score.
31103
31199
  # Corresponds to the JSON property `relevanceScoreSpec`
31104
31200
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
31105
31201
  attr_accessor :relevance_score_spec
31106
31202
 
31107
- # The relevance threshold of the search results. Default to Google defined
31108
- # threshold, leveraging a balance of precision and recall to deliver both highly
31109
- # accurate results and comprehensive coverage of relevant information. This
31110
- # feature is not supported for healthcare search.
31203
+ # The global relevance threshold of the search results. Defaults to Google
31204
+ # defined threshold, leveraging a balance of precision and recall to deliver
31205
+ # both highly accurate results and comprehensive coverage of relevant
31206
+ # information. If more granular relevance filtering is required, use the `
31207
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
31208
+ # search.
31111
31209
  # Corresponds to the JSON property `relevanceThreshold`
31112
31210
  # @return [String]
31113
31211
  attr_accessor :relevance_threshold
@@ -31233,6 +31331,7 @@ module Google
31233
31331
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
31234
31332
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
31235
31333
  @region_code = args[:region_code] if args.key?(:region_code)
31334
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
31236
31335
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
31237
31336
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
31238
31337
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -32185,6 +32284,56 @@ module Google
32185
32284
  end
32186
32285
  end
32187
32286
 
32287
+ # Relevance filtering specification.
32288
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
32289
+ include Google::Apis::Core::Hashable
32290
+
32291
+ # Specification for relevance filtering on a specific sub-search.
32292
+ # Corresponds to the JSON property `keywordSearchThreshold`
32293
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
32294
+ attr_accessor :keyword_search_threshold
32295
+
32296
+ # Specification for relevance filtering on a specific sub-search.
32297
+ # Corresponds to the JSON property `semanticSearchThreshold`
32298
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
32299
+ attr_accessor :semantic_search_threshold
32300
+
32301
+ def initialize(**args)
32302
+ update!(**args)
32303
+ end
32304
+
32305
+ # Update properties of this object
32306
+ def update!(**args)
32307
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
32308
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
32309
+ end
32310
+ end
32311
+
32312
+ # Specification for relevance filtering on a specific sub-search.
32313
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
32314
+ include Google::Apis::Core::Hashable
32315
+
32316
+ # Pre-defined relevance threshold for the sub-search.
32317
+ # Corresponds to the JSON property `relevanceThreshold`
32318
+ # @return [String]
32319
+ attr_accessor :relevance_threshold
32320
+
32321
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
32322
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
32323
+ # @return [Float]
32324
+ attr_accessor :semantic_relevance_threshold
32325
+
32326
+ def initialize(**args)
32327
+ update!(**args)
32328
+ end
32329
+
32330
+ # Update properties of this object
32331
+ def update!(**args)
32332
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
32333
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
32334
+ end
32335
+ end
32336
+
32188
32337
  # The specification for returning the document relevance score.
32189
32338
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
32190
32339
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.86.0"
19
+ GEM_VERSION = "0.87.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
@@ -958,6 +958,12 @@ module Google
958
958
  include Google::Apis::Core::JsonObjectSupport
959
959
  end
960
960
 
961
+ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
961
967
  class GoogleCloudDiscoveryengineV1alphaAclConfig
962
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
969
 
@@ -3658,6 +3664,18 @@ module Google
3658
3664
  include Google::Apis::Core::JsonObjectSupport
3659
3665
  end
3660
3666
 
3667
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
3668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3669
+
3670
+ include Google::Apis::Core::JsonObjectSupport
3671
+ end
3672
+
3673
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
3674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3675
+
3676
+ include Google::Apis::Core::JsonObjectSupport
3677
+ end
3678
+
3661
3679
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
3662
3680
  class Representation < Google::Apis::Core::JsonRepresentation; end
3663
3681
 
@@ -5032,6 +5050,18 @@ module Google
5032
5050
  include Google::Apis::Core::JsonObjectSupport
5033
5051
  end
5034
5052
 
5053
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
5054
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5055
+
5056
+ include Google::Apis::Core::JsonObjectSupport
5057
+ end
5058
+
5059
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
5060
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5061
+
5062
+ include Google::Apis::Core::JsonObjectSupport
5063
+ end
5064
+
5035
5065
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
5036
5066
  class Representation < Google::Apis::Core::JsonRepresentation; end
5037
5067
 
@@ -7122,10 +7152,20 @@ module Google
7122
7152
  class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition
7123
7153
  # @private
7124
7154
  class Representation < Google::Apis::Core::JsonRepresentation
7155
+ property :cloud_marketplace_config, as: 'cloudMarketplaceConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig::Representation
7156
+
7125
7157
  property :json_agent_card, as: 'jsonAgentCard'
7126
7158
  end
7127
7159
  end
7128
7160
 
7161
+ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig
7162
+ # @private
7163
+ class Representation < Google::Apis::Core::JsonRepresentation
7164
+ property :entitlement, as: 'entitlement'
7165
+ property :order, as: 'order'
7166
+ end
7167
+ end
7168
+
7129
7169
  class GoogleCloudDiscoveryengineV1alphaAclConfig
7130
7170
  # @private
7131
7171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11472,6 +11512,8 @@ module Google
11472
11512
  property :ranking_expression, as: 'rankingExpression'
11473
11513
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
11474
11514
  property :region_code, as: 'regionCode'
11515
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec::Representation
11516
+
11475
11517
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation
11476
11518
 
11477
11519
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -11715,6 +11757,24 @@ module Google
11715
11757
  end
11716
11758
  end
11717
11759
 
11760
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
11761
+ # @private
11762
+ class Representation < Google::Apis::Core::JsonRepresentation
11763
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
11764
+
11765
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
11766
+
11767
+ end
11768
+ end
11769
+
11770
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
11771
+ # @private
11772
+ class Representation < Google::Apis::Core::JsonRepresentation
11773
+ property :relevance_threshold, as: 'relevanceThreshold'
11774
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
11775
+ end
11776
+ end
11777
+
11718
11778
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
11719
11779
  # @private
11720
11780
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13891,6 +13951,8 @@ module Google
13891
13951
  property :ranking_expression, as: 'rankingExpression'
13892
13952
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
13893
13953
  property :region_code, as: 'regionCode'
13954
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec::Representation
13955
+
13894
13956
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation
13895
13957
 
13896
13958
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -14133,6 +14195,24 @@ module Google
14133
14195
  end
14134
14196
  end
14135
14197
 
14198
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
14199
+ # @private
14200
+ class Representation < Google::Apis::Core::JsonRepresentation
14201
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
14202
+
14203
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
14204
+
14205
+ end
14206
+ end
14207
+
14208
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
14209
+ # @private
14210
+ class Representation < Google::Apis::Core::JsonRepresentation
14211
+ property :relevance_threshold, as: 'relevanceThreshold'
14212
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
14213
+ end
14214
+ end
14215
+
14136
14216
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
14137
14217
  # @private
14138
14218
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3663,6 +3663,48 @@ module Google
3663
3663
  execute_or_queue_command(command, &block)
3664
3664
  end
3665
3665
 
3666
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
3667
+ # default serving config. Additional ServingConfigs can be created and managed
3668
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
3669
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
3670
+ # @param [String] parent
3671
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
3672
+ # location`/collections/`collection`/engines/`engine``
3673
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
3674
+ # @param [String] serving_config_id
3675
+ # Required. The ID to use for the ServingConfig, which will become the final
3676
+ # component of the ServingConfig's resource name. This value should be 4-63
3677
+ # characters, and valid characters are /a-zA-Z0-9+/.
3678
+ # @param [String] fields
3679
+ # Selector specifying which fields to include in a partial response.
3680
+ # @param [String] quota_user
3681
+ # Available to use for quota purposes for server-side applications. Can be any
3682
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3683
+ # @param [Google::Apis::RequestOptions] options
3684
+ # Request-specific options
3685
+ #
3686
+ # @yield [result, err] Result & error if block supplied
3687
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
3688
+ # @yieldparam err [StandardError] error object if request failed
3689
+ #
3690
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
3691
+ #
3692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3695
+ def create_project_location_collection_data_store_serving_config(parent, google_cloud_discoveryengine_v1alpha_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3696
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
3697
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
3698
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
3699
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
3700
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
3701
+ command.params['parent'] = parent unless parent.nil?
3702
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
3703
+ command.query['fields'] = fields unless fields.nil?
3704
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3705
+ execute_or_queue_command(command, &block)
3706
+ end
3707
+
3666
3708
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
3667
3709
  # not exist.
3668
3710
  # @param [String] name
@@ -7207,6 +7249,48 @@ module Google
7207
7249
  execute_or_queue_command(command, &block)
7208
7250
  end
7209
7251
 
7252
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
7253
+ # default serving config. Additional ServingConfigs can be created and managed
7254
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
7255
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
7256
+ # @param [String] parent
7257
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
7258
+ # location`/collections/`collection`/engines/`engine``
7259
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
7260
+ # @param [String] serving_config_id
7261
+ # Required. The ID to use for the ServingConfig, which will become the final
7262
+ # component of the ServingConfig's resource name. This value should be 4-63
7263
+ # characters, and valid characters are /a-zA-Z0-9+/.
7264
+ # @param [String] fields
7265
+ # Selector specifying which fields to include in a partial response.
7266
+ # @param [String] quota_user
7267
+ # Available to use for quota purposes for server-side applications. Can be any
7268
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7269
+ # @param [Google::Apis::RequestOptions] options
7270
+ # Request-specific options
7271
+ #
7272
+ # @yield [result, err] Result & error if block supplied
7273
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
7274
+ # @yieldparam err [StandardError] error object if request failed
7275
+ #
7276
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
7277
+ #
7278
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7279
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7280
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7281
+ def create_project_location_collection_engine_serving_config(parent, google_cloud_discoveryengine_v1alpha_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
7282
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
7283
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
7284
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
7285
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
7286
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
7287
+ command.params['parent'] = parent unless parent.nil?
7288
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
7289
+ command.query['fields'] = fields unless fields.nil?
7290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7291
+ execute_or_queue_command(command, &block)
7292
+ end
7293
+
7210
7294
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7211
7295
  # not exist.
7212
7296
  # @param [String] name
@@ -9976,6 +10060,48 @@ module Google
9976
10060
  execute_or_queue_command(command, &block)
9977
10061
  end
9978
10062
 
10063
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
10064
+ # default serving config. Additional ServingConfigs can be created and managed
10065
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
10066
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
10067
+ # @param [String] parent
10068
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
10069
+ # location`/collections/`collection`/engines/`engine``
10070
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
10071
+ # @param [String] serving_config_id
10072
+ # Required. The ID to use for the ServingConfig, which will become the final
10073
+ # component of the ServingConfig's resource name. This value should be 4-63
10074
+ # characters, and valid characters are /a-zA-Z0-9+/.
10075
+ # @param [String] fields
10076
+ # Selector specifying which fields to include in a partial response.
10077
+ # @param [String] quota_user
10078
+ # Available to use for quota purposes for server-side applications. Can be any
10079
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10080
+ # @param [Google::Apis::RequestOptions] options
10081
+ # Request-specific options
10082
+ #
10083
+ # @yield [result, err] Result & error if block supplied
10084
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
10085
+ # @yieldparam err [StandardError] error object if request failed
10086
+ #
10087
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
10088
+ #
10089
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10090
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10091
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10092
+ def create_project_location_data_store_serving_config(parent, google_cloud_discoveryengine_v1alpha_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
10093
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
10094
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
10095
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
10096
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
10097
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
10098
+ command.params['parent'] = parent unless parent.nil?
10099
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
10100
+ command.query['fields'] = fields unless fields.nil?
10101
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10102
+ execute_or_queue_command(command, &block)
10103
+ end
10104
+
9979
10105
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
9980
10106
  # not exist.
9981
10107
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.86.0
4
+ version: 0.87.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.86.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.87.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: