Class TriggerCreateParams.Builder
java.lang.Object
com.google.genai.gaos.models.triggers.TriggerCreateParams.Builder
- Enclosing class:
- TriggerCreateParams
-
Method Summary
Modifier and TypeMethodDescriptionbuild()displayName(String displayName) Optional.environmentId(String environmentId) Optional.executionTimeoutSeconds(Integer executionTimeoutSeconds) Optional.interaction(Interaction interaction) Required.maxConsecutiveFailures(Integer maxConsecutiveFailures) Optional.Required.Required.
-
Method Details
-
displayName
Optional. The display name of the trigger. -
environmentId
Optional. The environment ID for the trigger execution. -
executionTimeoutSeconds
public TriggerCreateParams.Builder executionTimeoutSeconds(@Nullable Integer executionTimeoutSeconds) Optional. The execution timeout for the triggered interaction. -
interaction
Required. The interaction request template to be executed. -
maxConsecutiveFailures
Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR). -
schedule
Required. The cron schedule on which the trigger should run. Standard cron format. -
timeZone
Required. Time zone in which the schedule should be interpreted. -
build
-