Memorystore for Memcached V1 Client - Class WeeklyMaintenanceWindow (2.0.4)

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
Enum of type DayOfWeek .

setDay

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

Parameter
Name
Description
var
int

Enum of type DayOfWeek .

Returns
Type
Description
$this

getStartTime

Required. Start time of the window in UTC.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Required. Start time of the window in UTC.

Parameter
Name
Description
Returns
Type
Description
$this

getDuration

Required. Duration of the time window.

Returns
Type
Description

hasDuration

clearDuration

setDuration

Required. Duration of the time window.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: