Class State (1.48.0)

State(value)

Possible state of the schedule.

Values: STATE_UNSPECIFIED (0): Unspecified. ACTIVE (1): The Schedule is active. Runs are being scheduled on the user-specified timespec. PAUSED (2): The schedule is paused. No new runs will be created until the schedule is resumed. Already started runs will be allowed to complete. COMPLETED (3): The Schedule is completed. No new runs will be scheduled. Already started runs will be allowed to complete. Schedules in completed state cannot be paused or resumed.

Methods

State

State(value)

Possible state of the schedule.

Values: STATE_UNSPECIFIED (0): Unspecified. ACTIVE (1): The Schedule is active. Runs are being scheduled on the user-specified timespec. PAUSED (2): The schedule is paused. No new runs will be created until the schedule is resumed. Already started runs will be allowed to complete. COMPLETED (3): The Schedule is completed. No new runs will be scheduled. Already started runs will be allowed to complete. Schedules in completed state cannot be paused or resumed.