Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions google/genai/_gaos/types/triggers/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class TriggerTypedDict(TypedDict):
interaction: interactions_interaction.InteractionTypedDict
r"""The Interaction resource."""
schedule: str
r"""Required. The cron schedule on which the trigger should run.
Standard cron format.
r"""Required. The cron schedule on which the trigger should run. Standard cron
format.
"""
time_zone: str
r"""Required. Time zone in which the schedule should be interpreted."""
Expand All @@ -69,8 +69,8 @@ class TriggerTypedDict(TypedDict):
last_run_time: NotRequired[datetime]
r"""Output only. The time when the trigger was last run."""
max_consecutive_failures: NotRequired[int]
r"""Optional. The maximum number of consecutive failures allowed before
the trigger is automatically paused (status becomes ERROR).
r"""Optional. The maximum number of consecutive failures allowed before the
trigger is automatically paused (status becomes ERROR).
"""
next_run_time: NotRequired[datetime]
r"""Output only. The time when the trigger is scheduled to run next."""
Expand All @@ -92,8 +92,8 @@ class Trigger(BaseModel):
r"""The Interaction resource."""

schedule: str
r"""Required. The cron schedule on which the trigger should run.
Standard cron format.
r"""Required. The cron schedule on which the trigger should run. Standard cron
format.
"""

time_zone: str
Expand Down Expand Up @@ -126,8 +126,8 @@ class Trigger(BaseModel):
r"""Output only. The time when the trigger was last run."""

max_consecutive_failures: Optional[int] = None
r"""Optional. The maximum number of consecutive failures allowed before
the trigger is automatically paused (status becomes ERROR).
r"""Optional. The maximum number of consecutive failures allowed before the
trigger is automatically paused (status becomes ERROR).
"""

next_run_time: Optional[datetime] = None
Expand Down
Loading