public sealed class ServingConfig.Types.GenericConfig : IMessage<ServingConfig.Types.GenericConfig>, IEquatable<ServingConfig.Types.GenericConfig>, IDeepCloneable<ServingConfig.Types.GenericConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class ServingConfig.Types.GenericConfig.
Specifies the configurations needed for Generic Discovery.Currently we
support:
content_search_spec: configuration for generic content search.
[[["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 documentation is for the \u003ccode\u003eServingConfig.Types.GenericConfig\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically for version 1.0.0-beta18.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGenericConfig\u003c/code\u003e is designed to handle configurations for Generic Discovery, with the current main feature being \u003ccode\u003econtent_search_spec\u003c/code\u003e, which configures generic content search.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, comparison, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGenericConfig\u003c/code\u003e has a \u003ccode\u003eContentSearchSpec\u003c/code\u003e property that allows the specification of content search behaviors, valid for data stores that have content search enabled.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eGenericConfig\u003c/code\u003e class, one default and one that accepts another \u003ccode\u003eGenericConfig\u003c/code\u003e instance for copying.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class ServingConfig.Types.GenericConfig (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.ServingConfig.Types.GenericConfig)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig) \n\n public sealed class ServingConfig.Types.GenericConfig : IMessage\u003cServingConfig.Types.GenericConfig\u003e, IEquatable\u003cServingConfig.Types.GenericConfig\u003e, IDeepCloneable\u003cServingConfig.Types.GenericConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class ServingConfig.Types.GenericConfig.\n\nSpecifies the configurations needed for Generic Discovery.Currently we\nsupport:\n\n- `content_search_spec`: configuration for generic content search. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServingConfig.Types.GenericConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ServingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types)[GenericConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types)[GenericConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types)[GenericConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ServingConfig.Types.GenericConfig), [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### GenericConfig()\n\n public GenericConfig()\n\n### GenericConfig(GenericConfig)\n\n public GenericConfig(ServingConfig.Types.GenericConfig other)\n\nProperties\n----------\n\n### ContentSearchSpec\n\n public SearchRequest.Types.ContentSearchSpec ContentSearchSpec { get; set; }\n\nSpecifies the expected behavior of content search.\nOnly valid for content-search enabled data store."]]