Gemini Enterprise for Customer Experience v1beta API - Class ArtifactChunk (1.0.0-beta10)

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class ArtifactChunk.

A streamed fragment of a document artifact (e.g. a markdown TDD) that the assistant is generating. Content deltas stream while the document is being written so clients can render a live preview; the FINALIZED chunk carries the GCS URI once the file has been persisted.

Inheritance

object > ArtifactChunk

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

ArtifactChunk()

public ArtifactChunk()

ArtifactChunk(ArtifactChunk)

public ArtifactChunk(ArtifactChunk other)
Parameter
Name Description
other ArtifactChunk

Properties

ArtifactId

public string ArtifactId { get; set; }

Identifier of the artifact, stable across all chunks of one artifact within the stream.

Property Value
Type Description
string

ContentDelta

public string ContentDelta { get; set; }

Incremental artifact content. Set on DELTA chunks.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

The file name shown to the user, e.g. "hotel_booking_tdd.md". Set on STARTED (and repeated on FINALIZED).

Property Value
Type Description
string

GcsUri

public string GcsUri { get; set; }

The GCS object the artifact was persisted to. Set on FINALIZED chunks.

Property Value
Type Description
string

MimeType

public string MimeType { get; set; }

The IANA media type of the artifact content, e.g. "text/markdown".

Property Value
Type Description
string

State

public ArtifactChunk.Types.State State { get; set; }

Lifecycle position of this chunk.

Property Value
Type Description
ArtifactChunkTypesState