# Discovery Engine v1beta API - Class FactChunk (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    public sealed class FactChunk : IMessage<FactChunk>, IEquatable<FactChunk>, IDeepCloneable<FactChunk>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class FactChunk.

Fact Chunk.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> FactChunk

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FactChunk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.FactChunk), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FactChunk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.FactChunk), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FactChunk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.FactChunk), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### FactChunk()

    public FactChunk()

### FactChunk(FactChunk)

    public FactChunk(FactChunk other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.FactChunk` |

## Properties

### ChunkText

    public string ChunkText { get; set; }

Text content of the fact chunk. Can be at most 10K characters long.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Index

    public int Index { get; set; }

The index of this chunk. Currently, only used for the streaming mode.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### Source

    public string Source { get; set; }

Source from which this fact chunk was retrieved. If it was retrieved
from the GroundingFacts provided in the request then this field will
contain the index of the specific fact from which this chunk was
retrieved.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### SourceMetadata

    public MapField<string, string> SourceMetadata { get; }

More fine-grained information for the source reference.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |