Cloud Spanner V1 Client - Class BackupScheduleSpec (1.88.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 Google\Cloud\Spanner\Admin\Database\V1\CrontabSpec

Cron style schedule specification.

getCronSpec

Cron style schedule specification.

Returns
Type Description
Google\Cloud\Spanner\Admin\Database\V1\CrontabSpec|null

hasCronSpec

setCronSpec

Cron style schedule specification.

Parameter
Name Description
var Google\Cloud\Spanner\Admin\Database\V1\CrontabSpec
Returns
Type Description
$this

getScheduleSpec

Returns
Type Description
string