diff --git a/api_names_out.yaml b/api_names_out.yaml index a0423db1883..9467e598e03 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -220072,7 +220072,11 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1WorkspaceConfig/superAdminServiceAccount": super_admin_service_account "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1WorkspaceConfig/type": type "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition": google_cloud_discoveryengine_v1alpha_a2_a_agent_definition +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition/cloudMarketplaceConfig": cloud_marketplace_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition/jsonAgentCard": json_agent_card +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig": google_cloud_discoveryengine_v1alpha_a2_a_agent_definition_cloud_marketplace_config +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig/entitlement": entitlement +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig/order": order "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAclConfig": google_cloud_discoveryengine_v1alpha_acl_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAclConfig/idpConfig": idp_config "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaAclConfig/name": name @@ -222411,6 +222415,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpression": ranking_expression "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequest/rankingExpressionBackend": ranking_expression_backend "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequest/regionCode": region_code +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceFilterSpec": relevance_filter_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceScoreSpec": relevance_score_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequest/relevanceThreshold": relevance_threshold "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequest/safeSearch": safe_search @@ -222541,6 +222546,14 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1alpha_search_request_query_expansion_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/condition": condition "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_filter_spec_relevance_threshold_spec +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold" +: relevance_threshold +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold" +: semantic_relevance_threshold "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1alpha_search_request_relevance_score_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1alpha_search_request_search_addon_spec @@ -223753,6 +223766,7 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpression": ranking_expression "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequest/rankingExpressionBackend": ranking_expression_backend "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequest/regionCode": region_code +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceFilterSpec": relevance_filter_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceScoreSpec": relevance_score_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequest/relevanceThreshold": relevance_threshold "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequest/safeSearch": safe_search @@ -223881,6 +223895,14 @@ "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": google_cloud_discoveryengine_v1beta_search_request_query_expansion_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/condition": condition "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec/pinUnexpandedResults": pin_unexpanded_results +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/keywordSearchThreshold": keyword_search_threshold +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec/semanticSearchThreshold": semantic_search_threshold +"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_filter_spec_relevance_threshold_spec +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/relevanceThreshold" +: relevance_threshold +? "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec/semanticRelevanceThreshold" +: semantic_relevance_threshold "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec": google_cloud_discoveryengine_v1beta_search_request_relevance_score_spec "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec/returnRelevanceScore": return_relevance_score "/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec": google_cloud_discoveryengine_v1beta_search_request_search_addon_spec @@ -224433,6 +224455,9 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.schemas.patch/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer": answer_project_location_collection_data_store_serving_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer/servingConfig": serving_config +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create": create_project_location_collection_data_store_serving_config +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/parent": parent +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.create/servingConfigId": serving_config_id "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete": delete_project_location_collection_data_store_serving_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.dataStores.servingConfigs.get": get_project_location_collection_data_store_serving_config @@ -224721,6 +224746,9 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.resume/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.answer": answer_project_location_collection_engine_serving_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.answer/servingConfig": serving_config +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.create": create_project_location_collection_engine_serving_config +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.create/parent": parent +"/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.create/servingConfigId": serving_config_id "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.delete": delete_project_location_collection_engine_serving_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.delete/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.collections.engines.servingConfigs.get": get_project_location_collection_engine_serving_config @@ -224955,6 +224983,9 @@ "/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.schemas.patch/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.answer": answer_project_location_data_store_serving_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.answer/servingConfig": serving_config +"/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.create": create_project_location_data_store_serving_config +"/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.create/parent": parent +"/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.create/servingConfigId": serving_config_id "/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.delete": delete_project_location_data_store_serving_config "/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.delete/name": name "/discoveryengine:v1alpha/discoveryengine.projects.locations.dataStores.servingConfigs.get": get_project_location_data_store_serving_config diff --git a/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md b/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md index 597654043c0..84a49c76fb4 100644 --- a/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md +++ b/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-discoveryengine_v1alpha +### v0.87.0 (2025-12-21) + +* Regenerated from discovery document revision 20251217 + ### v0.86.0 (2025-12-14) * Regenerated from discovery document revision 20251209 diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb index fc8bbee4e64..3b5668ae694 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb @@ -6150,6 +6150,11 @@ def update!(**args) class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition include Google::Apis::Core::Hashable + # Configuration specific to agents that are deployed from Cloud Marketplace. + # Corresponds to the JSON property `cloudMarketplaceConfig` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig] + attr_accessor :cloud_marketplace_config + # Optional. The agent card is a JSON string. # Corresponds to the JSON property `jsonAgentCard` # @return [String] @@ -6161,10 +6166,38 @@ def initialize(**args) # Update properties of this object def update!(**args) + @cloud_marketplace_config = args[:cloud_marketplace_config] if args.key?(:cloud_marketplace_config) @json_agent_card = args[:json_agent_card] if args.key?(:json_agent_card) end end + # Configuration specific to agents that are deployed from Cloud Marketplace. + class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig + include Google::Apis::Core::Hashable + + # Required. The Marketplace Entitlement this agent is associated with. Format: ` + # projects/`project`/entitlements/`entitlement``. + # Corresponds to the JSON property `entitlement` + # @return [String] + attr_accessor :entitlement + + # Output only. The Marketplace Order this agent belongs to. Format: ` + # billingAccounts/`billing_account`/orders/`order`` + # Corresponds to the JSON property `order` + # @return [String] + attr_accessor :order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entitlement = args[:entitlement] if args.key?(:entitlement) + @order = args[:order] if args.key?(:order) + end + end + # Access Control Configuration. class GoogleCloudDiscoveryengineV1alphaAclConfig include Google::Apis::Core::Hashable @@ -21806,15 +21839,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest # @return [String] attr_accessor :region_code + # Relevance filtering specification. + # Corresponds to the JSON property `relevanceFilterSpec` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec] + attr_accessor :relevance_filter_spec + # The specification for returning the document relevance score. # Corresponds to the JSON property `relevanceScoreSpec` # @return [Google::Apis::DiscoveryengineV1alpha::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 @@ -21950,6 +21990,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) @@ -22903,6 +22944,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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec] + attr_accessor :keyword_search_threshold + + # Specification for relevance filtering on a specific sub-search. + # Corresponds to the JSON property `semanticSearchThreshold` + # @return [Google::Apis::DiscoveryengineV1alpha::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 @@ -31099,15 +31190,22 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest # @return [String] attr_accessor :region_code + # Relevance filtering specification. + # Corresponds to the JSON property `relevanceFilterSpec` + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec] + attr_accessor :relevance_filter_spec + # The specification for returning the document relevance score. # Corresponds to the JSON property `relevanceScoreSpec` # @return [Google::Apis::DiscoveryengineV1alpha::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 @@ -31233,6 +31331,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) @@ -32185,6 +32284,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::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec] + attr_accessor :keyword_search_threshold + + # Specification for relevance filtering on a specific sub-search. + # Corresponds to the JSON property `semanticSearchThreshold` + # @return [Google::Apis::DiscoveryengineV1alpha::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 diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb index cc69a6c560d..78af0f5db4b 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DiscoveryengineV1alpha # Version of the google-apis-discoveryengine_v1alpha gem - GEM_VERSION = "0.86.0" + GEM_VERSION = "0.87.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 diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb index 2191f65fcd1..2955daf9ee3 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb @@ -958,6 +958,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaAclConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3658,6 +3664,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5032,6 +5050,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -7122,10 +7152,20 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_marketplace_config, as: 'cloudMarketplaceConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig::Representation + property :json_agent_card, as: 'jsonAgentCard' end end + class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entitlement, as: 'entitlement' + property :order, as: 'order' + end + end + class GoogleCloudDiscoveryengineV1alphaAclConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -11472,6 +11512,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :ranking_expression, as: 'rankingExpression' property :ranking_expression_backend, as: 'rankingExpressionBackend' property :region_code, as: 'regionCode' + property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec::Representation + property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation property :relevance_threshold, as: 'relevanceThreshold' @@ -11715,6 +11757,24 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation + + property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation + + end + end + + class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :relevance_threshold, as: 'relevanceThreshold' + property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold' + end + end + class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13891,6 +13951,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :ranking_expression, as: 'rankingExpression' property :ranking_expression_backend, as: 'rankingExpressionBackend' property :region_code, as: 'regionCode' + property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec::Representation + property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation property :relevance_threshold, as: 'relevanceThreshold' @@ -14133,6 +14195,24 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation + + property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation + + end + end + + class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :relevance_threshold, as: 'relevanceThreshold' + property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold' + end + end + class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb index dc6a5ed850c..bb4ba7e0051 100644 --- a/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb +++ b/generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb @@ -3663,6 +3663,48 @@ def answer_project_location_collection_data_store_serving_config(serving_config, execute_or_queue_command(command, &block) end + # Creates a ServingConfig. Note: The Google Cloud console works only with the + # default serving config. Additional ServingConfigs can be created and managed + # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, + # otherwise a RESOURCE_EXHAUSTED error is returned. + # @param [String] parent + # Required. Full resource name of parent. Format: `projects/`project`/locations/` + # location`/collections/`collection`/engines/`engine`` + # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object + # @param [String] serving_config_id + # Required. The ID to use for the ServingConfig, which will become the final + # component of the ServingConfig's resource name. This value should be 4-63 + # characters, and valid characters are /a-zA-Z0-9+/. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options) + command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation + command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig + command.params['parent'] = parent unless parent.nil? + command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does # not exist. # @param [String] name @@ -7207,6 +7249,48 @@ def answer_project_location_collection_engine_serving_config(serving_config, goo execute_or_queue_command(command, &block) end + # Creates a ServingConfig. Note: The Google Cloud console works only with the + # default serving config. Additional ServingConfigs can be created and managed + # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, + # otherwise a RESOURCE_EXHAUSTED error is returned. + # @param [String] parent + # Required. Full resource name of parent. Format: `projects/`project`/locations/` + # location`/collections/`collection`/engines/`engine`` + # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object + # @param [String] serving_config_id + # Required. The ID to use for the ServingConfig, which will become the final + # component of the ServingConfig's resource name. This value should be 4-63 + # characters, and valid characters are /a-zA-Z0-9+/. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options) + command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation + command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig + command.params['parent'] = parent unless parent.nil? + command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does # not exist. # @param [String] name @@ -9976,6 +10060,48 @@ def answer_project_location_data_store_serving_config(serving_config, google_clo execute_or_queue_command(command, &block) end + # Creates a ServingConfig. Note: The Google Cloud console works only with the + # default serving config. Additional ServingConfigs can be created and managed + # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, + # otherwise a RESOURCE_EXHAUSTED error is returned. + # @param [String] parent + # Required. Full resource name of parent. Format: `projects/`project`/locations/` + # location`/collections/`collection`/engines/`engine`` + # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object + # @param [String] serving_config_id + # Required. The ID to use for the ServingConfig, which will become the final + # component of the ServingConfig's resource name. This value should be 4-63 + # characters, and valid characters are /a-zA-Z0-9+/. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options) + command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation + command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object + command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation + command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig + command.params['parent'] = parent unless parent.nil? + command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does # not exist. # @param [String] name