Cloud Firestore V1 Client - Class WeeklyRecurrence (1.44.1)

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 \ V1

Methods

__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

setDay

The day of week to run.

DAY_OF_WEEK_UNSPECIFIED is not allowed.

Parameter
Name Description
var int
Returns
Type Description
$this