Schedule
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
The schedule of a recurring or one time event. The event's time span is specified by start_time and end_time. If the scheduled event's timespan is larger than the cron_spec + cron_job_duration, the event will be recurring. If only cron_spec + cron_job_duration are specified, the event is effective starting at the local time specified by cron_spec, and is recurring.
::
start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
cron job: cron spec start time + duration
Attributes
start_time
.timestamp.Timestamp
The start time of the event.
end_time
.timestamp.Timestamp
The end time of the event.
cron_job_duration
.duration.Duration
The duration for the cron job event. The duration of the event is effective after the cron job's start time.
cron_spec
str
The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the Realm.
Methods
__delattr__
__delattr__
(
key
)
Delete the value on the given field.
This is generally equivalent to setting a falsy value.
__eq__
__eq__
(
other
)
Return True if the messages are equal, False otherwise.
__ne__
__ne__
(
other
)
Return True if the messages are unequal, False otherwise.
__setattr__
__setattr__
(
key
,
value
)
Set the value on the given field.
For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.