Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::RecurringSchedule.
Sets the time for recurring patch deployments.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The end time at which a recurring patch deployment schedule is no longer active.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. The end time at which a recurring patch deployment schedule is no longer active.
Returns
- (::Google::Protobuf::Timestamp) — Optional. The end time at which a recurring patch deployment schedule is no longer active.
#frequency
def frequency() -> ::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency
Returns
- (::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency) — Required. The frequency unit of this recurring schedule.
#frequency=
def frequency=(value) -> ::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency
Parameter
- value (::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency) — Required. The frequency unit of this recurring schedule.
Returns
- (::Google::Cloud::OsConfig::V1::RecurringSchedule::Frequency) — Required. The frequency unit of this recurring schedule.
#last_execute_time
def last_execute_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the last patch job ran successfully.
#monthly
def monthly() -> ::Google::Cloud::OsConfig::V1::MonthlySchedule
Returns
- (::Google::Cloud::OsConfig::V1::MonthlySchedule) — Required. Schedule with monthly executions.
#monthly=
def monthly=(value) -> ::Google::Cloud::OsConfig::V1::MonthlySchedule
Parameter
- value (::Google::Cloud::OsConfig::V1::MonthlySchedule) — Required. Schedule with monthly executions.
Returns
- (::Google::Cloud::OsConfig::V1::MonthlySchedule) — Required. Schedule with monthly executions.
#next_execute_time
def next_execute_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time the next patch job is scheduled to run.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The time that the recurring schedule becomes effective.
Defaults to
create_time
of the patch deployment.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — Optional. The time that the recurring schedule becomes effective.
Defaults to
create_time
of the patch deployment.
Returns
-
(::Google::Protobuf::Timestamp) — Optional. The time that the recurring schedule becomes effective.
Defaults to
create_time
of the patch deployment.
#time_of_day
def time_of_day() -> ::Google::Type::TimeOfDay
Returns
- (::Google::Type::TimeOfDay) — Required. Time of the day to run a recurring deployment.
#time_of_day=
def time_of_day=(value) -> ::Google::Type::TimeOfDay
Parameter
- value (::Google::Type::TimeOfDay) — Required. Time of the day to run a recurring deployment.
Returns
- (::Google::Type::TimeOfDay) — Required. Time of the day to run a recurring deployment.
#time_zone
def time_zone() -> ::Google::Type::TimeZone
Returns
-
(::Google::Type::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.
#time_zone=
def time_zone=(value) -> ::Google::Type::TimeZone
Parameter
-
value (::Google::Type::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.
Returns
-
(::Google::Type::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.
#weekly
def weekly() -> ::Google::Cloud::OsConfig::V1::WeeklySchedule
Returns
- (::Google::Cloud::OsConfig::V1::WeeklySchedule) — Required. Schedule with weekly executions.
#weekly=
def weekly=(value) -> ::Google::Cloud::OsConfig::V1::WeeklySchedule
Parameter
- value (::Google::Cloud::OsConfig::V1::WeeklySchedule) — Required. Schedule with weekly executions.
Returns
- (::Google::Cloud::OsConfig::V1::WeeklySchedule) — Required. Schedule with weekly executions.