Memorystore for Memcached V1 Client - Class WeeklyMaintenanceWindow (1.0.5)

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

Time window specified for weekly operations.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ day int

Required. Allows to define schedule that runs specified day of the week.

↳ start_time Google\Type\TimeOfDay

Required. Start time of the window in UTC.

↳ duration Google\Protobuf\Duration

Required. Duration of the time window.

getDay

Required. Allows to define schedule that runs specified day of the week.

Returns
TypeDescription
int

setDay

Required. Allows to define schedule that runs specified day of the week.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStartTime

Required. Start time of the window in UTC.

Returns
TypeDescription
Google\Type\TimeOfDay|null

hasStartTime

clearStartTime

setStartTime

Required. Start time of the window in UTC.

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

getDuration

Required. Duration of the time window.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Required. Duration of the time window.

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