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.
Grounding source.
Implements
IMessageGenerateGroundedContentRequestTypesGroundingSource, IEquatableGenerateGroundedContentRequestTypesGroundingSource, IDeepCloneableGenerateGroundedContentRequestTypesGroundingSource, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
GroundingSource()
public GroundingSource()
GroundingSource(GroundingSource)
public GroundingSource(GenerateGroundedContentRequest.Types.GroundingSource other)
Parameter | |
---|---|
Name | Description |
other |
GenerateGroundedContentRequestTypesGroundingSource |
Properties
GoogleSearchSource
public GenerateGroundedContentRequest.Types.GroundingSource.Types.GoogleSearchSource GoogleSearchSource { get; set; }
If set, grounding is performed with Google Search.
Property Value | |
---|---|
Type | Description |
GenerateGroundedContentRequestTypesGroundingSourceTypesGoogleSearchSource |
InlineSource
public GenerateGroundedContentRequest.Types.GroundingSource.Types.InlineSource InlineSource { get; set; }
If set, grounding is performed with inline content.
Property Value | |
---|---|
Type | Description |
GenerateGroundedContentRequestTypesGroundingSourceTypesInlineSource |
SearchSource
public GenerateGroundedContentRequest.Types.GroundingSource.Types.SearchSource SearchSource { get; set; }
If set, grounding is performed with Vertex AI Search.
Property Value | |
---|---|
Type | Description |
GenerateGroundedContentRequestTypesGroundingSourceTypesSearchSource |
SourceCase
public GenerateGroundedContentRequest.Types.GroundingSource.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
GenerateGroundedContentRequestTypesGroundingSourceSourceOneofCase |