Google Cloud Redis V1 Client - Class MaintenanceSchedule (1.6.12)

Reference documentation and code samples for the Google Cloud Redis V1 Client class MaintenanceSchedule.

Upcoming maintenance schedule. If no maintenance is scheduled, fields are not populated.

Generated from protobuf message google.cloud.redis.v1.MaintenanceSchedule

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Output only. The start time of any upcoming scheduled maintenance for this instance.

↳ end_time Google\Protobuf\Timestamp

Output only. The end time of any upcoming scheduled maintenance for this instance.

↳ can_reschedule bool

If the scheduled maintenance can be rescheduled, default is true.

↳ schedule_deadline_time Google\Protobuf\Timestamp

Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.

getStartTime

Output only. The start time of any upcoming scheduled maintenance for this instance.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. The start time of any upcoming scheduled maintenance for this instance.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

Output only. The end time of any upcoming scheduled maintenance for this instance.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The end time of any upcoming scheduled maintenance for this instance.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCanReschedule

If the scheduled maintenance can be rescheduled, default is true.

Returns
TypeDescription
bool

setCanReschedule

If the scheduled maintenance can be rescheduled, default is true.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getScheduleDeadlineTime

Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasScheduleDeadlineTime

clearScheduleDeadlineTime

setScheduleDeadlineTime

Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this