Google Cloud Backup Dr V1 Client - Class WeekDayOfMonth (0.4.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class WeekDayOfMonth.

WeekDayOfMonth defines the week day of the month on which the backups will run. The message combines a WeekOfMonth and DayOfWeek to produce values like FIRST/MONDAY or LAST/FRIDAY.

Generated from protobuf message google.cloud.backupdr.v1.WeekDayOfMonth

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ week_of_month int

Required. Specifies the week of the month.

↳ day_of_week int

Required. Specifies the day of the week.

getWeekOfMonth

Required. Specifies the week of the month.

Returns
Type Description
int

setWeekOfMonth

Required. Specifies the week of the month.

Parameter
Name Description
var int
Returns
Type Description
$this

getDayOfWeek

Required. Specifies the day of the week.

Returns
Type Description
int

setDayOfWeek

Required. Specifies the day of the week.

Parameter
Name Description
var int
Returns
Type Description
$this