public sealed class SearchLinkPromotion : IMessage<SearchLinkPromotion>, IEquatable<SearchLinkPromotion>, IDeepCloneable<SearchLinkPromotion>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class SearchLinkPromotion.
Promotion proto includes uri and other helping information to display the
promotion.
Optional. The [Document][google.cloud.discoveryengine.v1.Document] the user
wants to promote. For site search, leave unset and only populate uri. Can
be set along with uri.
[[["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."],[],[],null,["# Discovery Engine v1 API - Class SearchLinkPromotion (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion) \n\n public sealed class SearchLinkPromotion : IMessage\u003cSearchLinkPromotion\u003e, IEquatable\u003cSearchLinkPromotion\u003e, IDeepCloneable\u003cSearchLinkPromotion\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class SearchLinkPromotion.\n\nPromotion proto includes uri and other helping information to display the\npromotion. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SearchLinkPromotion \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchLinkPromotion](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchLinkPromotion](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchLinkPromotion](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion), [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.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### SearchLinkPromotion()\n\n public SearchLinkPromotion()\n\n### SearchLinkPromotion(SearchLinkPromotion)\n\n public SearchLinkPromotion(SearchLinkPromotion other)\n\nProperties\n----------\n\n### Description\n\n public string Description { get; set; }\n\nOptional. The Promotion description.\nMaximum length: 200 characters.\n\n### Document\n\n public string Document { get; set; }\n\nOptional. The \\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\] the user\nwants to promote. For site search, leave unset and only populate uri. Can\nbe set along with uri.\n\n### DocumentAsDocumentName\n\n public DocumentName DocumentAsDocumentName { get; set; }\n\n[DocumentName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentName)-typed view over the [Document](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchLinkPromotion#Google_Cloud_DiscoveryEngine_V1_SearchLinkPromotion_Document) resource name property.\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nOptional. The enabled promotion will be returned for any serving configs\nassociated with the parent of the control this promotion is attached to.\n\nThis flag is used for basic site search only.\n\n### ImageUri\n\n public string ImageUri { get; set; }\n\nOptional. The promotion thumbnail image url.\n\n### Title\n\n public string Title { get; set; }\n\nRequired. The title of the promotion.\nMaximum length: 160 characters.\n\n### Uri\n\n public string Uri { get; set; }\n\nOptional. The URL for the page the user wants to promote. Must be set for\nsite search. For other verticals, this is optional."]]