Skip to content

Commit c338f60

Browse files
feat: Automated regeneration of discoveryengine v1beta client (#25298)
Auto-created at 2025-12-21 10:29:46 +0000 using the toys pull request generator.
1 parent 46b9126 commit c338f60

File tree

6 files changed

+347
-10
lines changed

6 files changed

+347
-10
lines changed

api_names_out.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227664,6 +227664,7 @@
227664227664
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpression": ranking_expression
227665227665
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpressionBackend": ranking_expression_backend
227666227666
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/regionCode": region_code
227667+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceFilterSpec": relevance_filter_spec
227667227668
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceScoreSpec": relevance_score_spec
227668227669
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceThreshold": relevance_threshold
227669227670
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/safeSearch": safe_search
@@ -227793,6 +227794,14 @@
227793227794
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1alpha_search_request_query_expansion_spec
227794227795
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/condition": condition
227795227796
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results
227797+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec
227798+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold
227799+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold
227800+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec_relevance_threshold_spec
227801+
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold"
227802+
: relevance_threshold
227803+
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold"
227804+
: semantic_relevance_threshold
227796227805
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_score_spec
227797227806
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score
227798227807
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1alpha_search_request_search_addon_spec
@@ -229599,6 +229608,7 @@
229599229608
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpression": ranking_expression
229600229609
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpressionBackend": ranking_expression_backend
229601229610
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/regionCode": region_code
229611+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceFilterSpec": relevance_filter_spec
229602229612
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceScoreSpec": relevance_score_spec
229603229613
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceThreshold": relevance_threshold
229604229614
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/safeSearch": safe_search
@@ -229727,6 +229737,14 @@
229727229737
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1beta_search_request_query_expansion_spec
229728229738
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/condition": condition
229729229739
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results
229740+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec
229741+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold
229742+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold
229743+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec_relevance_threshold_spec
229744+
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold"
229745+
: relevance_threshold
229746+
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold"
229747+
: semantic_relevance_threshold
229730229748
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_score_spec
229731229749
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score
229732229750
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1beta_search_request_search_addon_spec
@@ -230392,6 +230410,9 @@
230392230410
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.schemas.patch/name": name
230393230411
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer": answer_project_location_collection_data_store_serving_config
230394230412
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer/servingConfig": serving_config
230413+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create": create_project_location_collection_data_store_serving_config
230414+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/parent": parent
230415+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/servingConfigId": serving_config_id
230395230416
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete": delete_project_location_collection_data_store_serving_config
230396230417
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete/name": name
230397230418
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.get": get_project_location_collection_data_store_serving_config
@@ -230594,6 +230615,9 @@
230594230615
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.resume/name": name
230595230616
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.answer": answer_project_location_collection_engine_serving_config
230596230617
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.answer/servingConfig": serving_config
230618+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.create": create_project_location_collection_engine_serving_config
230619+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.create/parent": parent
230620+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.create/servingConfigId": serving_config_id
230597230621
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.delete": delete_project_location_collection_engine_serving_config
230598230622
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.delete/name": name
230599230623
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.get": get_project_location_collection_engine_serving_config
@@ -230773,6 +230797,9 @@
230773230797
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.schemas.patch/name": name
230774230798
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.answer": answer_project_location_data_store_serving_config
230775230799
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.answer/servingConfig": serving_config
230800+
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.create": create_project_location_data_store_serving_config
230801+
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.create/parent": parent
230802+
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.create/servingConfigId": serving_config_id
230776230803
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.delete": delete_project_location_data_store_serving_config
230777230804
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.delete/name": name
230778230805
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.get": get_project_location_data_store_serving_config

generated/google-apis-discoveryengine_v1beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-discoveryengine_v1beta
22

3+
### v0.93.0 (2025-12-21)
4+
5+
* Regenerated from discovery document revision 20251217
6+
37
### v0.92.0 (2025-12-14)
48

59
* Regenerated from discovery document revision 20251209

generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb

Lines changed: 124 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13345,15 +13345,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
1334513345
# @return [String]
1334613346
attr_accessor :region_code
1334713347

13348+
# Relevance filtering specification.
13349+
# Corresponds to the JSON property `relevanceFilterSpec`
13350+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
13351+
attr_accessor :relevance_filter_spec
13352+
1334813353
# The specification for returning the document relevance score.
1334913354
# Corresponds to the JSON property `relevanceScoreSpec`
1335013355
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
1335113356
attr_accessor :relevance_score_spec
1335213357

13353-
# The relevance threshold of the search results. Default to Google defined
13354-
# threshold, leveraging a balance of precision and recall to deliver both highly
13355-
# accurate results and comprehensive coverage of relevant information. This
13356-
# feature is not supported for healthcare search.
13358+
# The global relevance threshold of the search results. Defaults to Google
13359+
# defined threshold, leveraging a balance of precision and recall to deliver
13360+
# both highly accurate results and comprehensive coverage of relevant
13361+
# information. If more granular relevance filtering is required, use the `
13362+
# relevance_filter_spec` instead. This feature is not supported for healthcare
13363+
# search.
1335713364
# Corresponds to the JSON property `relevanceThreshold`
1335813365
# @return [String]
1335913366
attr_accessor :relevance_threshold
@@ -13489,6 +13496,7 @@ def update!(**args)
1348913496
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
1349013497
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
1349113498
@region_code = args[:region_code] if args.key?(:region_code)
13499+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
1349213500
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
1349313501
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
1349413502
@safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -14442,6 +14450,56 @@ def update!(**args)
1444214450
end
1444314451
end
1444414452

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+
1444514503
# The specification for returning the document relevance score.
1444614504
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
1444714505
include Google::Apis::Core::Hashable
@@ -26650,15 +26708,22 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2665026708
# @return [String]
2665126709
attr_accessor :region_code
2665226710

26711+
# Relevance filtering specification.
26712+
# Corresponds to the JSON property `relevanceFilterSpec`
26713+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
26714+
attr_accessor :relevance_filter_spec
26715+
2665326716
# The specification for returning the document relevance score.
2665426717
# Corresponds to the JSON property `relevanceScoreSpec`
2665526718
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
2665626719
attr_accessor :relevance_score_spec
2665726720

26658-
# The relevance threshold of the search results. Default to Google defined
26659-
# threshold, leveraging a balance of precision and recall to deliver both highly
26660-
# accurate results and comprehensive coverage of relevant information. This
26661-
# feature is not supported for healthcare search.
26721+
# The global relevance threshold of the search results. Defaults to Google
26722+
# defined threshold, leveraging a balance of precision and recall to deliver
26723+
# both highly accurate results and comprehensive coverage of relevant
26724+
# information. If more granular relevance filtering is required, use the `
26725+
# relevance_filter_spec` instead. This feature is not supported for healthcare
26726+
# search.
2666226727
# Corresponds to the JSON property `relevanceThreshold`
2666326728
# @return [String]
2666426729
attr_accessor :relevance_threshold
@@ -26784,6 +26849,7 @@ def update!(**args)
2678426849
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
2678526850
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
2678626851
@region_code = args[:region_code] if args.key?(:region_code)
26852+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
2678726853
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
2678826854
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
2678926855
@safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -27736,6 +27802,56 @@ def update!(**args)
2773627802
end
2773727803
end
2773827804

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+
2773927855
# The specification for returning the document relevance score.
2774027856
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
2774127857
include Google::Apis::Core::Hashable

generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DiscoveryengineV1beta
1818
# Version of the google-apis-discoveryengine_v1beta gem
19-
GEM_VERSION = "0.92.0"
19+
GEM_VERSION = "0.93.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251209"
25+
REVISION = "20251217"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)