Skip to content

Commit 0c51d26

Browse files
feat: Automated regeneration of discoveryengine v1 client (#25275)
Auto-created at 2025-12-21 09:27:21 +0000 using the toys pull request generator.
1 parent 504f84e commit 0c51d26

File tree

6 files changed

+351
-14
lines changed

6 files changed

+351
-14
lines changed

api_names_out.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217429,6 +217429,7 @@
217429217429
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpression": ranking_expression
217430217430
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpressionBackend": ranking_expression_backend
217431217431
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequest/regionCode": region_code
217432+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceFilterSpec": relevance_filter_spec
217432217433
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceScoreSpec": relevance_score_spec
217433217434
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceThreshold": relevance_threshold
217434217435
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequest/safeSearch": safe_search
@@ -217556,6 +217557,13 @@
217556217557
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1alpha_search_request_query_expansion_spec
217557217558
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/condition": condition
217558217559
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results
217560+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec
217561+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold
217562+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold
217563+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec_relevance_threshold_spec
217564+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold": relevance_threshold
217565+
? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold"
217566+
: semantic_relevance_threshold
217559217567
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_score_spec
217560217568
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score
217561217569
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1alpha_search_request_search_addon_spec
@@ -218202,6 +218210,7 @@
218202218210
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpression": ranking_expression
218203218211
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpressionBackend": ranking_expression_backend
218204218212
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/regionCode": region_code
218213+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceFilterSpec": relevance_filter_spec
218205218214
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceScoreSpec": relevance_score_spec
218206218215
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceThreshold": relevance_threshold
218207218216
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/safeSearch": safe_search
@@ -218326,6 +218335,13 @@
218326218335
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1beta_search_request_query_expansion_spec
218327218336
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/condition": condition
218328218337
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results
218338+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec
218339+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold
218340+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold
218341+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec_relevance_threshold_spec
218342+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold": relevance_threshold
218343+
? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold"
218344+
: semantic_relevance_threshold
218329218345
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_score_spec
218330218346
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score
218331218347
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1beta_search_request_search_addon_spec
@@ -218638,6 +218654,9 @@
218638218654
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.schemas.patch/name": name
218639218655
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer": answer_project_location_collection_data_store_serving_config
218640218656
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer/servingConfig": serving_config
218657+
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create": create_project_location_collection_data_store_serving_config
218658+
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/parent": parent
218659+
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/servingConfigId": serving_config_id
218641218660
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete": delete_project_location_collection_data_store_serving_config
218642218661
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete/name": name
218643218662
"/discoveryengine:v1/discoveryengine.projects.locations.collections.dataStores.servingConfigs.get": get_project_location_collection_data_store_serving_config
@@ -218842,6 +218861,9 @@
218842218861
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.patch/updateMask": update_mask
218843218862
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.answer": answer_project_location_collection_engine_serving_config
218844218863
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.answer/servingConfig": serving_config
218864+
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.create": create_project_location_collection_engine_serving_config
218865+
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.create/parent": parent
218866+
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.create/servingConfigId": serving_config_id
218845218867
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.delete": delete_project_location_collection_engine_serving_config
218846218868
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.delete/name": name
218847218869
"/discoveryengine:v1/discoveryengine.projects.locations.collections.engines.servingConfigs.get": get_project_location_collection_engine_serving_config
@@ -219031,6 +219053,9 @@
219031219053
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.schemas.patch/name": name
219032219054
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.answer": answer_project_location_data_store_serving_config
219033219055
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.answer/servingConfig": serving_config
219056+
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.create": create_project_location_data_store_serving_config
219057+
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.create/parent": parent
219058+
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.create/servingConfigId": serving_config_id
219034219059
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.delete": delete_project_location_data_store_serving_config
219035219060
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.delete/name": name
219036219061
"/discoveryengine:v1/discoveryengine.projects.locations.dataStores.servingConfigs.get": get_project_location_data_store_serving_config

generated/google-apis-discoveryengine_v1/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_v1
22

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

59
* Regenerated from discovery document revision 20251209

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

Lines changed: 130 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11684,10 +11684,12 @@ class GoogleCloudDiscoveryengineV1SearchRequest
1168411684
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec]
1168511685
attr_accessor :relevance_score_spec
1168611686

11687-
# The relevance threshold of the search results. Default to Google defined
11688-
# threshold, leveraging a balance of precision and recall to deliver both highly
11689-
# accurate results and comprehensive coverage of relevant information. This
11690-
# feature is not supported for healthcare search.
11687+
# The global relevance threshold of the search results. Defaults to Google
11688+
# defined threshold, leveraging a balance of precision and recall to deliver
11689+
# both highly accurate results and comprehensive coverage of relevant
11690+
# information. If more granular relevance filtering is required, use the `
11691+
# relevance_filter_spec` instead. This feature is not supported for healthcare
11692+
# search.
1169111693
# Corresponds to the JSON property `relevanceThreshold`
1169211694
# @return [String]
1169311695
attr_accessor :relevance_threshold
@@ -23222,15 +23224,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
2322223224
# @return [String]
2322323225
attr_accessor :region_code
2322423226

23227+
# Relevance filtering specification.
23228+
# Corresponds to the JSON property `relevanceFilterSpec`
23229+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
23230+
attr_accessor :relevance_filter_spec
23231+
2322523232
# The specification for returning the document relevance score.
2322623233
# Corresponds to the JSON property `relevanceScoreSpec`
2322723234
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
2322823235
attr_accessor :relevance_score_spec
2322923236

23230-
# The relevance threshold of the search results. Default to Google defined
23231-
# threshold, leveraging a balance of precision and recall to deliver both highly
23232-
# accurate results and comprehensive coverage of relevant information. This
23233-
# feature is not supported for healthcare search.
23237+
# The global relevance threshold of the search results. Defaults to Google
23238+
# defined threshold, leveraging a balance of precision and recall to deliver
23239+
# both highly accurate results and comprehensive coverage of relevant
23240+
# information. If more granular relevance filtering is required, use the `
23241+
# relevance_filter_spec` instead. This feature is not supported for healthcare
23242+
# search.
2323423243
# Corresponds to the JSON property `relevanceThreshold`
2323523244
# @return [String]
2323623245
attr_accessor :relevance_threshold
@@ -23366,6 +23375,7 @@ def update!(**args)
2336623375
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
2336723376
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
2336823377
@region_code = args[:region_code] if args.key?(:region_code)
23378+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
2336923379
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
2337023380
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
2337123381
@safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -24319,6 +24329,56 @@ def update!(**args)
2431924329
end
2432024330
end
2432124331

24332+
# Relevance filtering specification.
24333+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
24334+
include Google::Apis::Core::Hashable
24335+
24336+
# Specification for relevance filtering on a specific sub-search.
24337+
# Corresponds to the JSON property `keywordSearchThreshold`
24338+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
24339+
attr_accessor :keyword_search_threshold
24340+
24341+
# Specification for relevance filtering on a specific sub-search.
24342+
# Corresponds to the JSON property `semanticSearchThreshold`
24343+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
24344+
attr_accessor :semantic_search_threshold
24345+
24346+
def initialize(**args)
24347+
update!(**args)
24348+
end
24349+
24350+
# Update properties of this object
24351+
def update!(**args)
24352+
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
24353+
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
24354+
end
24355+
end
24356+
24357+
# Specification for relevance filtering on a specific sub-search.
24358+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
24359+
include Google::Apis::Core::Hashable
24360+
24361+
# Pre-defined relevance threshold for the sub-search.
24362+
# Corresponds to the JSON property `relevanceThreshold`
24363+
# @return [String]
24364+
attr_accessor :relevance_threshold
24365+
24366+
# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
24367+
# Corresponds to the JSON property `semanticRelevanceThreshold`
24368+
# @return [Float]
24369+
attr_accessor :semantic_relevance_threshold
24370+
24371+
def initialize(**args)
24372+
update!(**args)
24373+
end
24374+
24375+
# Update properties of this object
24376+
def update!(**args)
24377+
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
24378+
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
24379+
end
24380+
end
24381+
2432224382
# The specification for returning the document relevance score.
2432324383
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
2432424384
include Google::Apis::Core::Hashable
@@ -29107,15 +29167,22 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2910729167
# @return [String]
2910829168
attr_accessor :region_code
2910929169

29170+
# Relevance filtering specification.
29171+
# Corresponds to the JSON property `relevanceFilterSpec`
29172+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
29173+
attr_accessor :relevance_filter_spec
29174+
2911029175
# The specification for returning the document relevance score.
2911129176
# Corresponds to the JSON property `relevanceScoreSpec`
2911229177
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
2911329178
attr_accessor :relevance_score_spec
2911429179

29115-
# The relevance threshold of the search results. Default to Google defined
29116-
# threshold, leveraging a balance of precision and recall to deliver both highly
29117-
# accurate results and comprehensive coverage of relevant information. This
29118-
# feature is not supported for healthcare search.
29180+
# The global relevance threshold of the search results. Defaults to Google
29181+
# defined threshold, leveraging a balance of precision and recall to deliver
29182+
# both highly accurate results and comprehensive coverage of relevant
29183+
# information. If more granular relevance filtering is required, use the `
29184+
# relevance_filter_spec` instead. This feature is not supported for healthcare
29185+
# search.
2911929186
# Corresponds to the JSON property `relevanceThreshold`
2912029187
# @return [String]
2912129188
attr_accessor :relevance_threshold
@@ -29241,6 +29308,7 @@ def update!(**args)
2924129308
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
2924229309
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
2924329310
@region_code = args[:region_code] if args.key?(:region_code)
29311+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
2924429312
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
2924529313
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
2924629314
@safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -30193,6 +30261,56 @@ def update!(**args)
3019330261
end
3019430262
end
3019530263

30264+
# Relevance filtering specification.
30265+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
30266+
include Google::Apis::Core::Hashable
30267+
30268+
# Specification for relevance filtering on a specific sub-search.
30269+
# Corresponds to the JSON property `keywordSearchThreshold`
30270+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
30271+
attr_accessor :keyword_search_threshold
30272+
30273+
# Specification for relevance filtering on a specific sub-search.
30274+
# Corresponds to the JSON property `semanticSearchThreshold`
30275+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
30276+
attr_accessor :semantic_search_threshold
30277+
30278+
def initialize(**args)
30279+
update!(**args)
30280+
end
30281+
30282+
# Update properties of this object
30283+
def update!(**args)
30284+
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
30285+
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
30286+
end
30287+
end
30288+
30289+
# Specification for relevance filtering on a specific sub-search.
30290+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
30291+
include Google::Apis::Core::Hashable
30292+
30293+
# Pre-defined relevance threshold for the sub-search.
30294+
# Corresponds to the JSON property `relevanceThreshold`
30295+
# @return [String]
30296+
attr_accessor :relevance_threshold
30297+
30298+
# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
30299+
# Corresponds to the JSON property `semanticRelevanceThreshold`
30300+
# @return [Float]
30301+
attr_accessor :semantic_relevance_threshold
30302+
30303+
def initialize(**args)
30304+
update!(**args)
30305+
end
30306+
30307+
# Update properties of this object
30308+
def update!(**args)
30309+
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
30310+
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
30311+
end
30312+
end
30313+
3019630314
# The specification for returning the document relevance score.
3019730315
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
3019830316
include Google::Apis::Core::Hashable

0 commit comments

Comments
 (0)