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

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

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

A document artifact generated by the assistant within a session, stored as a file in the customer's Cloud Storage bucket.

Inheritance

object > AssistantSessionArtifact

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

AssistantSessionArtifact()

public AssistantSessionArtifact()

AssistantSessionArtifact(AssistantSessionArtifact)

public AssistantSessionArtifact(AssistantSessionArtifact other)
Parameter
Name Description
other AssistantSessionArtifact

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. When the artifact was persisted.

Property Value
Type Description
Timestamp

DisplayName

public string DisplayName { get; set; }

Output only. The file name shown to the user, e.g. "hotel_booking_tdd.md".

Property Value
Type Description
string

GcsUri

public string GcsUri { get; set; }

Output only. The Cloud Storage object holding the artifact content. Example: "gs://{project}-agent-assist-artifacts/agent-assist-generated/1_tdd.md"

Property Value
Type Description
string

Id

public string Id { get; set; }

Output only. The unique identifier of the artifact within the session.

Property Value
Type Description
string

MimeType

public string MimeType { get; set; }

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

Property Value
Type Description
string

TurnIndex

public int TurnIndex { get; set; }

Output only. Index of the message in [AssistantSession.messages] whose turn produced the artifact, for placing the artifact chip when history is restored.

Property Value
Type Description
int