Class RecurringSchedule (1.16.0)

RecurringSchedule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Sets the time for recurring patch deployments.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
time_zone google.type.datetime_pb2.TimeZone
Required. Defines the time zone that time_of_day is relative to. The rules for daylight saving time are determined by the chosen time zone.
start_time google.protobuf.timestamp_pb2.Timestamp
Optional. The time that the recurring schedule becomes effective. Defaults to create_time of the patch deployment.
end_time google.protobuf.timestamp_pb2.Timestamp
Optional. The end time at which a recurring patch deployment schedule is no longer active.
time_of_day google.type.timeofday_pb2.TimeOfDay
Required. Time of the day to run a recurring deployment.
frequency google.cloud.osconfig_v1.types.RecurringSchedule.Frequency
Required. The frequency unit of this recurring schedule.
weekly google.cloud.osconfig_v1.types.WeeklySchedule
Required. Schedule with weekly executions. This field is a member of oneof_ schedule_config.
monthly google.cloud.osconfig_v1.types.MonthlySchedule
Required. Schedule with monthly executions. This field is a member of oneof_ schedule_config.
last_execute_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the last patch job ran successfully.
next_execute_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the next patch job is scheduled to run.

Classes

Frequency

Frequency(value)

Specifies the frequency of the recurring patch deployments.

Values: FREQUENCY_UNSPECIFIED (0): Invalid. A frequency must be specified. WEEKLY (1): Indicates that the frequency of recurrence should be expressed in terms of weeks. MONTHLY (2): Indicates that the frequency of recurrence should be expressed in terms of months. DAILY (3): Indicates that the frequency of recurrence should be expressed in terms of days.