Class TriggerExecution
java.lang.Object
com.google.genai.gaos.models.triggers.TriggerExecution
TriggerExecution
An execution instance of a trigger.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTriggerExecution(String id, String triggerId) TriggerExecution(OffsetDateTime endTime, String environmentId, String error, String id, String interactionId, OffsetDateTime scheduledTime, OffsetDateTime startTime, TriggerExecutionStatus status, String triggerId) -
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerExecution.Builderbuilder()endTime()Output only.Output only.booleanerror()Output only.inthashCode()id()Required.Output only.Output only.Output only.status()Output only.toString()Required.withEndTime(OffsetDateTime endTime) Output only.withEnvironmentId(String environmentId) Output only.Output only.Required.withInteractionId(String interactionId) Output only.withScheduledTime(OffsetDateTime scheduledTime) Output only.withStartTime(OffsetDateTime startTime) Output only.withStatus(TriggerExecutionStatus status) Output only.withTriggerId(String triggerId) Required.
-
Constructor Details
-
TriggerExecution
public TriggerExecution(@Nullable OffsetDateTime endTime, @Nullable String environmentId, @Nullable String error, @Nonnull String id, @Nullable String interactionId, @Nullable OffsetDateTime scheduledTime, @Nullable OffsetDateTime startTime, @Nullable TriggerExecutionStatus status, @Nonnull String triggerId) -
TriggerExecution
-
-
Method Details
-
endTime
Output only. The time when the execution finished. -
environmentId
Output only. The environment ID used for the execution. -
error
Output only. The error message if the execution failed. -
id
Required. Output only. Identifier.The ID of the trigger execution.
-
interactionId
Output only. The ID of the interaction created by this execution, if any. -
scheduledTime
Output only. The time when the execution was scheduled to run. -
startTime
Output only. The time when the execution started. -
status
Output only. The status of the execution. -
triggerId
Required. Output only. Identifier.The ID of the trigger that created this execution.
-
builder
-
withEndTime
Output only. The time when the execution finished. -
withEnvironmentId
Output only. The environment ID used for the execution. -
withError
Output only. The error message if the execution failed. -
withId
Required. Output only. Identifier.The ID of the trigger execution.
-
withInteractionId
Output only. The ID of the interaction created by this execution, if any. -
withScheduledTime
Output only. The time when the execution was scheduled to run. -
withStartTime
Output only. The time when the execution started. -
withStatus
Output only. The status of the execution. -
withTriggerId
Required. Output only. Identifier.The ID of the trigger that created this execution.
-
equals
-
hashCode
public int hashCode() -
toString
-