Memorystore for Memcached V1 Client - Class WeeklyMaintenanceWindow (2.0.0-RC1)

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

Namespace

Google \ Cloud \ Memcache \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setDay

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

Parameter
Name Description
var int
Returns
Type Description
$this

getStartTime

Required. Start time of the window in UTC.

Returns
Type Description
Google\Type\TimeOfDay|null

hasStartTime

clearStartTime

setStartTime

Required. Start time of the window in UTC.

Parameter
Name Description
var Google\Type\TimeOfDay
Returns
Type Description
$this

getDuration

Required. Duration of the time window.

Returns
Type Description
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Required. Duration of the time window.

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