# Class Schedule (1.8.3)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.8.3 (latest)](https://docs.cloud.google.com/python/docs/reference/gameservices/latest/google.cloud.gaming_v1.types.Schedule)
- [1.8.2](https://docs.cloud.google.com/python/docs/reference/gameservices/1.8.2/google.cloud.gaming_v1.types.Schedule)
- [1.7.1](https://docs.cloud.google.com/python/docs/reference/gameservices/1.7.1/google.cloud.gaming_v1.types.Schedule)
- [1.6.0](https://docs.cloud.google.com/python/docs/reference/gameservices/1.6.0/google.cloud.gaming_v1.types.Schedule)
- [1.5.3](https://docs.cloud.google.com/python/docs/reference/gameservices/1.5.3/google.cloud.gaming_v1.types.Schedule)
- [1.4.2](https://docs.cloud.google.com/python/docs/reference/gameservices/1.4.2/google.cloud.gaming_v1.types.Schedule)
- [1.3.0](https://docs.cloud.google.com/python/docs/reference/gameservices/1.3.0/google.cloud.gaming_v1.types.Schedule)
- [1.2.1](https://docs.cloud.google.com/python/docs/reference/gameservices/1.2.1/google.cloud.gaming_v1.types.Schedule)
- [1.1.1](https://docs.cloud.google.com/python/docs/reference/gameservices/1.1.1/google.cloud.gaming_v1.types.Schedule)
- [1.0.2](https://docs.cloud.google.com/python/docs/reference/gameservices/1.0.2/google.cloud.gaming_v1.types.Schedule)
- [0.5.2](https://docs.cloud.google.com/python/docs/reference/gameservices/0.5.2/google.cloud.gaming_v1.types.Schedule)
- [0.4.2](https://docs.cloud.google.com/python/docs/reference/gameservices/0.4.2/google.cloud.gaming_v1.types.Schedule)
- [0.3.0](https://docs.cloud.google.com/python/docs/reference/gameservices/0.3.0/google.cloud.gaming_v1.types.Schedule)
- [0.2.0](https://docs.cloud.google.com/python/docs/reference/gameservices/0.2.0/google.cloud.gaming_v1.types.Schedule)
- [0.1.1](https://docs.cloud.google.com/python/docs/reference/gameservices/0.1.1/google.cloud.gaming_v1.types.Schedule)

    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 ||
|---|---|
| **Name** | **Description** |
| `start_time` | `google.protobuf.timestamp_pb2.Timestamp` The start time of the event. |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` The end time of the event. |
| `cron_job_duration` | `google.protobuf.duration_pb2.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. |