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.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ArtifactChunk : IDirectResponseSchema
Properties
ArtifactId
Identifier of the artifact, stable across all chunks of one artifact within the stream.
Declaration
[JsonProperty("artifactId")]
public virtual string ArtifactId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentDelta
Incremental artifact content. Set on DELTA chunks.
Declaration
[JsonProperty("contentDelta")]
public virtual string ContentDelta { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
The file name shown to the user, e.g. "hotel_booking_tdd.md". Set on STARTED (and repeated on FINALIZED).
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GcsUri
The GCS object the artifact was persisted to. Set on FINALIZED chunks.
Declaration
[JsonProperty("gcsUri")]
public virtual string GcsUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MimeType
The IANA media type of the artifact content, e.g. "text/markdown".
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Lifecycle position of this chunk.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |