Memorystore for Memcached V1 Client - Class MaintenanceSchedule (2.0.0)

Reference documentation and code samples for the Memorystore for Memcached V1 Client class MaintenanceSchedule.

Upcoming maintenance schedule.

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

Namespace

Google \ Cloud \ Memcache \ V1

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.

↳ 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

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