scheduler#

class cloudly.gcp.scheduler.Job[source]#

Bases: object

classmethod create(name: str, *, cron_schedule: str, workflow: Workflow, workflow_args: dict | None = None, timezone: str)[source]#
Parameters:
name

You often want to add some randomness to the name to guarantee its uniqueness.

cron_schedule

See https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules

__init__(name_or_obj: str | Job, /)[source]#
delete()[source]#
state() Literal['ACTIVE', 'ENABLED', 'PAUSED', 'DISABLED', 'STATE_UNSPECIFIED'][source]#