Google Cloud Redis V1 Client - Class WeeklyMaintenanceWindow (1.7.0)

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

Time window in which disruptive maintenance updates occur. Non-disruptive updates can occur inside or outside this window.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ day int

Required. The day of week that maintenance updates occur.

↳ start_time Google\Type\TimeOfDay

Required. Start time of the window in UTC time.

↳ duration Google\Protobuf\Duration

Output only. Duration of the maintenance window. The current window is fixed at 1 hour.

getDay

Required. The day of week that maintenance updates occur.

Returns
TypeDescription
int

setDay

Required. The day of week that maintenance updates occur.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStartTime

Required. Start time of the window in UTC time.

Returns
TypeDescription
Google\Type\TimeOfDay|null

hasStartTime

clearStartTime

setStartTime

Required. Start time of the window in UTC time.

Parameter
NameDescription
var Google\Type\TimeOfDay
Returns
TypeDescription
$this

getDuration

Output only. Duration of the maintenance window. The current window is fixed at 1 hour.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Output only. Duration of the maintenance window. The current window is fixed at 1 hour.

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