Cloud Spanner V1 Client - Class BackupScheduleSpec (1.91.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class BackupScheduleSpec.

Defines specifications of the backup schedule.

Generated from protobuf message google.spanner.admin.database.v1.BackupScheduleSpec

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cron_spec CrontabSpec

Cron style schedule specification.

getCronSpec

Cron style schedule specification.

Returns
Type Description
CrontabSpec|null

hasCronSpec

setCronSpec

Cron style schedule specification.

Parameter
Name Description
var CrontabSpec
Returns
Type Description
$this

getScheduleSpec

Returns
Type Description
string