Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227218,6 +227218,7 @@
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpression": ranking_expression
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpressionBackend": ranking_expression_backend
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/regionCode": region_code
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceFilterSpec": relevance_filter_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceScoreSpec": relevance_score_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceThreshold": relevance_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequest/safeSearch": safe_search
Expand Down Expand Up @@ -227347,6 +227348,14 @@
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1alpha_search_request_query_expansion_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/condition": condition
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec_relevance_threshold_spec
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold"
: relevance_threshold
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold"
: semantic_relevance_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_score_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1alpha_search_request_search_addon_spec
Expand Down Expand Up @@ -229153,6 +229162,7 @@
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpression": ranking_expression
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpressionBackend": ranking_expression_backend
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/regionCode": region_code
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceFilterSpec": relevance_filter_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceScoreSpec": relevance_score_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceThreshold": relevance_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/safeSearch": safe_search
Expand Down Expand Up @@ -229281,6 +229291,14 @@
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1beta_search_request_query_expansion_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/condition": condition
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec_relevance_threshold_spec
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold"
: relevance_threshold
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold"
: semantic_relevance_threshold
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_score_spec
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1beta_search_request_search_addon_spec
Expand Down Expand Up @@ -229946,6 +229964,9 @@
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.schemas.patch/name": name
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer": answer_project_location_collection_data_store_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer/servingConfig": serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create": create_project_location_collection_data_store_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/parent": parent
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/servingConfigId": serving_config_id
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete": delete_project_location_collection_data_store_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete/name": name
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.servingConfigs.get": get_project_location_collection_data_store_serving_config
Expand Down Expand Up @@ -230148,6 +230169,9 @@
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.resume/name": name
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.answer": answer_project_location_collection_engine_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.answer/servingConfig": serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.create": create_project_location_collection_engine_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.create/parent": parent
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.create/servingConfigId": serving_config_id
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.delete": delete_project_location_collection_engine_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.delete/name": name
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.servingConfigs.get": get_project_location_collection_engine_serving_config
Expand Down Expand Up @@ -230327,6 +230351,9 @@
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.schemas.patch/name": name
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.answer": answer_project_location_data_store_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.answer/servingConfig": serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.create": create_project_location_data_store_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.create/parent": parent
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.create/servingConfigId": serving_config_id
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.delete": delete_project_location_data_store_serving_config
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.delete/name": name
"/discoveryengine:v1beta/discoveryengine.projects.locations.dataStores.servingConfigs.get": get_project_location_data_store_serving_config
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-discoveryengine_v1beta

### v0.93.0 (2025-12-21)

* Regenerated from discovery document revision 20251217

### v0.92.0 (2025-12-14)

* Regenerated from discovery document revision 20251209
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13345,15 +13345,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest
# @return [String]
attr_accessor :region_code

# Relevance filtering specification.
# Corresponds to the JSON property `relevanceFilterSpec`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
attr_accessor :relevance_filter_spec

# The specification for returning the document relevance score.
# Corresponds to the JSON property `relevanceScoreSpec`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
attr_accessor :relevance_score_spec

# The relevance threshold of the search results. Default to Google defined
# threshold, leveraging a balance of precision and recall to deliver both highly
# accurate results and comprehensive coverage of relevant information. This
# feature is not supported for healthcare search.
# The global relevance threshold of the search results. Defaults to Google
# defined threshold, leveraging a balance of precision and recall to deliver
# both highly accurate results and comprehensive coverage of relevant
# information. If more granular relevance filtering is required, use the `
# relevance_filter_spec` instead. This feature is not supported for healthcare
# search.
# Corresponds to the JSON property `relevanceThreshold`
# @return [String]
attr_accessor :relevance_threshold
Expand Down Expand Up @@ -13489,6 +13496,7 @@ def update!(**args)
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
@region_code = args[:region_code] if args.key?(:region_code)
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
@safe_search = args[:safe_search] if args.key?(:safe_search)
Expand Down Expand Up @@ -14442,6 +14450,56 @@ def update!(**args)
end
end

# Relevance filtering specification.
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
include Google::Apis::Core::Hashable

# Specification for relevance filtering on a specific sub-search.
# Corresponds to the JSON property `keywordSearchThreshold`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
attr_accessor :keyword_search_threshold

# Specification for relevance filtering on a specific sub-search.
# Corresponds to the JSON property `semanticSearchThreshold`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
attr_accessor :semantic_search_threshold

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
end
end

# Specification for relevance filtering on a specific sub-search.
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
include Google::Apis::Core::Hashable

# Pre-defined relevance threshold for the sub-search.
# Corresponds to the JSON property `relevanceThreshold`
# @return [String]
attr_accessor :relevance_threshold

# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
# Corresponds to the JSON property `semanticRelevanceThreshold`
# @return [Float]
attr_accessor :semantic_relevance_threshold

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
end
end

# The specification for returning the document relevance score.
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -26650,15 +26708,22 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
# @return [String]
attr_accessor :region_code

# Relevance filtering specification.
# Corresponds to the JSON property `relevanceFilterSpec`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
attr_accessor :relevance_filter_spec

# The specification for returning the document relevance score.
# Corresponds to the JSON property `relevanceScoreSpec`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
attr_accessor :relevance_score_spec

# The relevance threshold of the search results. Default to Google defined
# threshold, leveraging a balance of precision and recall to deliver both highly
# accurate results and comprehensive coverage of relevant information. This
# feature is not supported for healthcare search.
# The global relevance threshold of the search results. Defaults to Google
# defined threshold, leveraging a balance of precision and recall to deliver
# both highly accurate results and comprehensive coverage of relevant
# information. If more granular relevance filtering is required, use the `
# relevance_filter_spec` instead. This feature is not supported for healthcare
# search.
# Corresponds to the JSON property `relevanceThreshold`
# @return [String]
attr_accessor :relevance_threshold
Expand Down Expand Up @@ -26784,6 +26849,7 @@ def update!(**args)
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
@region_code = args[:region_code] if args.key?(:region_code)
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
@safe_search = args[:safe_search] if args.key?(:safe_search)
Expand Down Expand Up @@ -27736,6 +27802,56 @@ def update!(**args)
end
end

# Relevance filtering specification.
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
include Google::Apis::Core::Hashable

# Specification for relevance filtering on a specific sub-search.
# Corresponds to the JSON property `keywordSearchThreshold`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
attr_accessor :keyword_search_threshold

# Specification for relevance filtering on a specific sub-search.
# Corresponds to the JSON property `semanticSearchThreshold`
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
attr_accessor :semantic_search_threshold

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
end
end

# Specification for relevance filtering on a specific sub-search.
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
include Google::Apis::Core::Hashable

# Pre-defined relevance threshold for the sub-search.
# Corresponds to the JSON property `relevanceThreshold`
# @return [String]
attr_accessor :relevance_threshold

# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
# Corresponds to the JSON property `semanticRelevanceThreshold`
# @return [Float]
attr_accessor :semantic_relevance_threshold

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
end
end

# The specification for returning the document relevance score.
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DiscoveryengineV1beta
# Version of the google-apis-discoveryengine_v1beta gem
GEM_VERSION = "0.92.0"
GEM_VERSION = "0.93.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20251209"
REVISION = "20251217"
end
end
end
Loading