Class TriggerExecution
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
A run of a Trigger.
public sealed class TriggerExecution
- Inheritance
-
TriggerExecution
- Inherited Members
- Extension Methods
Properties
EndTime
The end time (RFC 3339).
[JsonPropertyName("end_time")]
public string? EndTime { get; set; }
Property Value
EnvironmentId
The environment used by this run.
[JsonPropertyName("environment_id")]
public string? EnvironmentId { get; set; }
Property Value
Error
The error message of a failed run.
[JsonPropertyName("error")]
public string? Error { get; set; }
Property Value
ExtensionData
Fields this SDK does not model yet.
[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }
Property Value
Id
The execution ID.
[JsonPropertyName("id")]
public string? Id { get; set; }
Property Value
InteractionId
The ID of the interaction created by this run.
[JsonPropertyName("interaction_id")]
public string? InteractionId { get; set; }
Property Value
ScheduledTime
The scheduled time (RFC 3339).
[JsonPropertyName("scheduled_time")]
public string? ScheduledTime { get; set; }
Property Value
StartTime
The start time (RFC 3339).
[JsonPropertyName("start_time")]
public string? StartTime { get; set; }
Property Value
Status
The execution status (see TriggerExecutionStatuses).
[JsonPropertyName("status")]
public string? Status { get; set; }
Property Value
TriggerId
The trigger ID.
[JsonPropertyName("trigger_id")]
public string? TriggerId { get; set; }