google-apis-discoveryengine_v1alpha 0.86.0 → 0.88.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: 808c1013fbcb20bb76ad0eeb0b23c7dbf6c1129b78be4c64fa466c3d43058d6e
4
+ data.tar.gz: d4213dca48ed1f4cf169ffe6061b81ee2f276459c43848562796404dd33449d7
5
5
  SHA512:
6
- metadata.gz: 2e66fe4a8e7a84fdd8325f3190dbfbb915889f43fa421e0ab6719fb0051c65c893303e004f0e23f0fa5ba4e79132c77b142986610a1792d4b6461a2886d1118d
7
- data.tar.gz: de5860950d2e3d1b2ae9e7987b30e3c6e038bb4fdd2ffc72fb77fdd7b1714ad02c4c3e7b15c66da6f5660f95407e98f0e79d051a4492fe1035ffe0e63a55c6ba
6
+ metadata.gz: 2cddbc37ffccd37868f82f5df6bf19eecd7160c81dec4af5cb497c7177a0eda6762fc9a85e67e079ef05e3c0c7bb720ab62a9af967b3660722f44afdc0ec740a
7
+ data.tar.gz: b44dbb6637305a75b861d4471e4768cd78bca7267c286d9bca68859532f56fea8092c2ebe0083c5cb9c2902f8b46ff3b51a723d5bb28c0dfbb8b0f1c4b62615b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.88.0 (2025-12-28)
4
+
5
+ * Regenerated from discovery document revision 20251221
6
+
7
+ ### v0.87.0 (2025-12-21)
8
+
9
+ * Regenerated from discovery document revision 20251217
10
+
3
11
  ### v0.86.0 (2025-12-14)
4
12
 
5
13
  * 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.88.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 = "20251221"
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
@@ -1278,11 +1278,12 @@ module Google
1278
1278
  # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnector] google_cloud_discoveryengine_v1alpha_data_connector_object
1279
1279
  # @param [String] update_mask
1280
1280
  # Indicates which fields in the provided DataConnector to update. Supported
1281
- # field paths include: - refresh_interval - params - auto_run_disabled -
1282
- # action_config - action_config.action_params - action_config.service_name -
1283
- # destination_configs - blocking_reasons - sync_mode - incremental_sync_disabled
1284
- # - incremental_refresh_interval Note: Support for these fields may vary
1285
- # depending on the connector type. For example, not all connectors support `
1281
+ # field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `
1282
+ # action_config` - `action_config.action_params` - `action_config.service_name` -
1283
+ # `destination_configs` - `blocking_reasons` - `sync_mode` - `
1284
+ # incremental_sync_disabled` - `incremental_refresh_interval` - `
1285
+ # data_protection_policy` Note: Support for these fields may vary depending on
1286
+ # the connector type. For example, not all connectors support `
1286
1287
  # destination_configs`. If an unsupported or unknown field path is provided, the
1287
1288
  # request will return an INVALID_ARGUMENT error.
1288
1289
  # @param [String] fields
@@ -3663,6 +3664,48 @@ module Google
3663
3664
  execute_or_queue_command(command, &block)
3664
3665
  end
3665
3666
 
3667
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
3668
+ # default serving config. Additional ServingConfigs can be created and managed
3669
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
3670
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
3671
+ # @param [String] parent
3672
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
3673
+ # location`/collections/`collection`/engines/`engine``
3674
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
3675
+ # @param [String] serving_config_id
3676
+ # Required. The ID to use for the ServingConfig, which will become the final
3677
+ # component of the ServingConfig's resource name. This value should be 4-63
3678
+ # characters, and valid characters are /a-zA-Z0-9+/.
3679
+ # @param [String] fields
3680
+ # Selector specifying which fields to include in a partial response.
3681
+ # @param [String] quota_user
3682
+ # Available to use for quota purposes for server-side applications. Can be any
3683
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3684
+ # @param [Google::Apis::RequestOptions] options
3685
+ # Request-specific options
3686
+ #
3687
+ # @yield [result, err] Result & error if block supplied
3688
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
3689
+ # @yieldparam err [StandardError] error object if request failed
3690
+ #
3691
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
3692
+ #
3693
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3694
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3695
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3696
+ 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)
3697
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
3698
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
3699
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
3700
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
3701
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
3702
+ command.params['parent'] = parent unless parent.nil?
3703
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
3704
+ command.query['fields'] = fields unless fields.nil?
3705
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3706
+ execute_or_queue_command(command, &block)
3707
+ end
3708
+
3666
3709
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
3667
3710
  # not exist.
3668
3711
  # @param [String] name
@@ -7207,6 +7250,48 @@ module Google
7207
7250
  execute_or_queue_command(command, &block)
7208
7251
  end
7209
7252
 
7253
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
7254
+ # default serving config. Additional ServingConfigs can be created and managed
7255
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
7256
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
7257
+ # @param [String] parent
7258
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
7259
+ # location`/collections/`collection`/engines/`engine``
7260
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
7261
+ # @param [String] serving_config_id
7262
+ # Required. The ID to use for the ServingConfig, which will become the final
7263
+ # component of the ServingConfig's resource name. This value should be 4-63
7264
+ # characters, and valid characters are /a-zA-Z0-9+/.
7265
+ # @param [String] fields
7266
+ # Selector specifying which fields to include in a partial response.
7267
+ # @param [String] quota_user
7268
+ # Available to use for quota purposes for server-side applications. Can be any
7269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7270
+ # @param [Google::Apis::RequestOptions] options
7271
+ # Request-specific options
7272
+ #
7273
+ # @yield [result, err] Result & error if block supplied
7274
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
7275
+ # @yieldparam err [StandardError] error object if request failed
7276
+ #
7277
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
7278
+ #
7279
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7280
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7281
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7282
+ 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)
7283
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
7284
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
7285
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
7286
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
7287
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
7288
+ command.params['parent'] = parent unless parent.nil?
7289
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
7290
+ command.query['fields'] = fields unless fields.nil?
7291
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7292
+ execute_or_queue_command(command, &block)
7293
+ end
7294
+
7210
7295
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7211
7296
  # not exist.
7212
7297
  # @param [String] name
@@ -9976,6 +10061,48 @@ module Google
9976
10061
  execute_or_queue_command(command, &block)
9977
10062
  end
9978
10063
 
10064
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
10065
+ # default serving config. Additional ServingConfigs can be created and managed
10066
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
10067
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
10068
+ # @param [String] parent
10069
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
10070
+ # location`/collections/`collection`/engines/`engine``
10071
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
10072
+ # @param [String] serving_config_id
10073
+ # Required. The ID to use for the ServingConfig, which will become the final
10074
+ # component of the ServingConfig's resource name. This value should be 4-63
10075
+ # characters, and valid characters are /a-zA-Z0-9+/.
10076
+ # @param [String] fields
10077
+ # Selector specifying which fields to include in a partial response.
10078
+ # @param [String] quota_user
10079
+ # Available to use for quota purposes for server-side applications. Can be any
10080
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10081
+ # @param [Google::Apis::RequestOptions] options
10082
+ # Request-specific options
10083
+ #
10084
+ # @yield [result, err] Result & error if block supplied
10085
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
10086
+ # @yieldparam err [StandardError] error object if request failed
10087
+ #
10088
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
10089
+ #
10090
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10091
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10092
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10093
+ 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)
10094
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
10095
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
10096
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
10097
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
10098
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
10099
+ command.params['parent'] = parent unless parent.nil?
10100
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
10101
+ command.query['fields'] = fields unless fields.nil?
10102
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10103
+ execute_or_queue_command(command, &block)
10104
+ end
10105
+
9979
10106
  # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
9980
10107
  # not exist.
9981
10108
  # @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.88.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.88.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: