Google Cloud Redis V1beta1 Client - Class MaintenanceSchedule (1.9.3)

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

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

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

Namespace

Google \ Cloud \ Redis \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCanReschedule

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

Returns
Type Description
bool

setCanReschedule

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getScheduleDeadlineTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasScheduleDeadlineTime

clearScheduleDeadlineTime

setScheduleDeadlineTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this