public sealed class GenerateGroundedContentRequest.Types.GroundingSource : IMessage<GenerateGroundedContentRequest.Types.GroundingSource>, IEquatable<GenerateGroundedContentRequest.Types.GroundingSource>, IDeepCloneable<GenerateGroundedContentRequest.Types.GroundingSource>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class GenerateGroundedContentRequest.Types.GroundingSource.
[[["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 documentation for the \u003ccode\u003eGenerateGroundedContentRequest.Types.GroundingSource\u003c/code\u003e class, part of the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGroundingSource\u003c/code\u003e class is used for specifying the source of grounding, which can be Google Search, inline content, or Vertex AI Search.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, as part of its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 1.6.0, and previous versions down to 1.0.0-beta06 are also documented.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating instances of the \u003ccode\u003eGroundingSource\u003c/code\u003e class, including a default constructor and one that takes another \u003ccode\u003eGroundingSource\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class GenerateGroundedContentRequest.Types.GroundingSource (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.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource) \n\n public sealed class GenerateGroundedContentRequest.Types.GroundingSource : IMessage\u003cGenerateGroundedContentRequest.Types.GroundingSource\u003e, IEquatable\u003cGenerateGroundedContentRequest.Types.GroundingSource\u003e, IDeepCloneable\u003cGenerateGroundedContentRequest.Types.GroundingSource\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class GenerateGroundedContentRequest.Types.GroundingSource.\n\nGrounding source. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GenerateGroundedContentRequest.Types.GroundingSource \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GenerateGroundedContentRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types)[GroundingSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GenerateGroundedContentRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types)[GroundingSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GenerateGroundedContentRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types)[GroundingSource](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest.Types.GroundingSource), [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### GroundingSource()\n\n public GroundingSource()\n\n### GroundingSource(GroundingSource)\n\n public GroundingSource(GenerateGroundedContentRequest.Types.GroundingSource other)\n\nProperties\n----------\n\n### EnterpriseWebRetrievalSource\n\n public GenerateGroundedContentRequest.Types.GroundingSource.Types.EnterpriseWebRetrievalSource EnterpriseWebRetrievalSource { get; set; }\n\nIf set, grounding is performed with enterprise web retrieval.\n\n### GoogleSearchSource\n\n public GenerateGroundedContentRequest.Types.GroundingSource.Types.GoogleSearchSource GoogleSearchSource { get; set; }\n\nIf set, grounding is performed with Google Search.\n\n### InlineSource\n\n public GenerateGroundedContentRequest.Types.GroundingSource.Types.InlineSource InlineSource { get; set; }\n\nIf set, grounding is performed with inline content.\n\n### SearchSource\n\n public GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource SearchSource { get; set; }\n\nIf set, grounding is performed with Vertex AI Search.\n\n### SourceCase\n\n public GenerateGroundedContentRequest.Types.GroundingSource.SourceOneofCase SourceCase { get; }"]]