Reference documentation and code samples for the Cloud Firestore V1 Client class WeeklyRecurrence.
Represents a recurring schedule that runs on a specified day of the week.
The time zone is UTC.
Generated from protobuf message google.firestore.admin.v1.WeeklyRecurrence
Namespace
Google \ Cloud \ Firestore \ Admin \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ day |
int
The day of week to run. DAY_OF_WEEK_UNSPECIFIED is not allowed. |
getDay
The day of week to run.
DAY_OF_WEEK_UNSPECIFIED is not allowed.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type DayOfWeek. |
setDay
The day of week to run.
DAY_OF_WEEK_UNSPECIFIED is not allowed.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DayOfWeek. |
| Returns | |
|---|---|
| Type | Description |
$this |
|