Discovery Engine v1beta API - Class AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference (1.0.0-beta24)

public sealed class AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference : IMessage<AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference>, IEquatable<AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference>, IDeepCloneable<AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.

Referenced content and related document metadata.

Inheritance

object > AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

Reference()

public Reference()

Reference(Reference)

public Reference(AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference other)
Parameter
Name Description
other AssistantGroundedContentTypesTextGroundingMetadataTypesReference

Properties

CodeSnippet

public string CodeSnippet { get; set; }

Chunk of code snippet from the referenced document.

Property Value
Type Description
string

Content

public string Content { get; set; }

Referenced text content.

Property Value
Type Description
string

DocumentMetadata

public AssistantGroundedContent.Types.TextGroundingMetadata.Types.Reference.Types.DocumentMetadata DocumentMetadata { get; set; }

Document metadata.

Property Value
Type Description
AssistantGroundedContentTypesTextGroundingMetadataTypesReferenceTypesDocumentMetadata