Reference documentation and code samples for the Google Cloud OsConfig V1 Client class RecurringSchedule.
Sets the time for recurring patch deployments.
Generated from protobuf message google.cloud.osconfig.v1.RecurringSchedule
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ time_zone
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.
↳ start_time
Google\Protobuf\Timestamp
Optional. The time that the recurring schedule becomes effective. Defaults to create_time
of the patch deployment.
↳ end_time
Google\Protobuf\Timestamp
Optional. The end time at which a recurring patch deployment schedule is no longer active.
↳ time_of_day
↳ frequency
int
Required. The frequency unit of this recurring schedule.
↳ weekly
↳ monthly
↳ last_execute_time
↳ next_execute_time
getTimeZone
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.
hasTimeZone
clearTimeZone
setTimeZone
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.
$this
getStartTime
Optional. The time that the recurring schedule becomes effective.
Defaults to create_time
of the patch deployment.
hasStartTime
clearStartTime
setStartTime
Optional. The time that the recurring schedule becomes effective.
Defaults to create_time
of the patch deployment.
$this
getEndTime
Optional. The end time at which a recurring patch deployment schedule is no longer active.
hasEndTime
clearEndTime
setEndTime
Optional. The end time at which a recurring patch deployment schedule is no longer active.
$this
getTimeOfDay
Required. Time of the day to run a recurring deployment.
hasTimeOfDay
clearTimeOfDay
setTimeOfDay
Required. Time of the day to run a recurring deployment.
$this
getFrequency
Required. The frequency unit of this recurring schedule.
int
setFrequency
Required. The frequency unit of this recurring schedule.
var
int
$this
getWeekly
Required. Schedule with weekly executions.
hasWeekly
setWeekly
Required. Schedule with weekly executions.
$this
getMonthly
Required. Schedule with monthly executions.
hasMonthly
setMonthly
Required. Schedule with monthly executions.
$this
getLastExecuteTime
Output only. The time the last patch job ran successfully.
hasLastExecuteTime
clearLastExecuteTime
setLastExecuteTime
Output only. The time the last patch job ran successfully.
$this
getNextExecuteTime
Output only. The time the next patch job is scheduled to run.
hasNextExecuteTime
clearNextExecuteTime
setNextExecuteTime
Output only. The time the next patch job is scheduled to run.
$this
getScheduleConfig
string