public sealed class AdvancedCompleteQueryRequest.Types.BoostSpec : IMessage<AdvancedCompleteQueryRequest.Types.BoostSpec>, IEquatable<AdvancedCompleteQueryRequest.Types.BoostSpec>, IDeepCloneable<AdvancedCompleteQueryRequest.Types.BoostSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class AdvancedCompleteQueryRequest.Types.BoostSpec.
Specification to boost suggestions based on the condtion of the suggestion.
public RepeatedField<AdvancedCompleteQueryRequest.Types.BoostSpec.Types.ConditionBoostSpec> ConditionBoostSpecs { get; }
Condition boost specifications. If a suggestion matches multiple
conditions in the specifictions, boost values from these specifications
are all applied and combined in a non-linear way. Maximum number of
specifications is 20.
Note: Currently only support language condition boost.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eAdvancedCompleteQueryRequest.Types.BoostSpec\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBoostSpec\u003c/code\u003e class is designed to allow boosting of suggestions based on certain conditions, enhancing the relevance of auto-complete functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, for comprehensive object functionality.\u003c/p\u003e\n"],["\u003cp\u003eIt contains a \u003ccode\u003eConditionBoostSpecs\u003c/code\u003e property, which is a collection of \u003ccode\u003eConditionBoostSpec\u003c/code\u003e objects, each defining a specific boost condition for suggestions, supporting up to 20 conditions.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor methods for \u003ccode\u003eBoostSpec\u003c/code\u003e, one parameterless, and another that allows for creating a new \u003ccode\u003eBoostSpec\u003c/code\u003e object based on an existing one, copying its current properties.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class AdvancedCompleteQueryRequest.Types.BoostSpec (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec) \n\n public sealed class AdvancedCompleteQueryRequest.Types.BoostSpec : IMessage\u003cAdvancedCompleteQueryRequest.Types.BoostSpec\u003e, IEquatable\u003cAdvancedCompleteQueryRequest.Types.BoostSpec\u003e, IDeepCloneable\u003cAdvancedCompleteQueryRequest.Types.BoostSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class AdvancedCompleteQueryRequest.Types.BoostSpec.\n\nSpecification to boost suggestions based on the condtion of the suggestion. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AdvancedCompleteQueryRequest.Types.BoostSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AdvancedCompleteQueryRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types)[BoostSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdvancedCompleteQueryRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types)[BoostSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AdvancedCompleteQueryRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types)[BoostSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest.Types.BoostSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### BoostSpec()\n\n public BoostSpec()\n\n### BoostSpec(BoostSpec)\n\n public BoostSpec(AdvancedCompleteQueryRequest.Types.BoostSpec other)\n\nProperties\n----------\n\n### ConditionBoostSpecs\n\n public RepeatedField\u003cAdvancedCompleteQueryRequest.Types.BoostSpec.Types.ConditionBoostSpec\u003e ConditionBoostSpecs { get; }\n\nCondition boost specifications. If a suggestion matches multiple\nconditions in the specifictions, boost values from these specifications\nare all applied and combined in a non-linear way. Maximum number of\nspecifications is 20.\n\nNote: Currently only support language condition boost."]]