Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BackupSchedule

import type { BackupSchedule } from "https://googleapis.deno.dev/v1/spanner:v1.ts";

BackupSchedule expresses the automated backup creation specification for a Spanner database.

interface BackupSchedule {
encryptionConfig?: CreateBackupEncryptionConfig;
fullBackupSpec?: FullBackupSpec;
incrementalBackupSpec?: IncrementalBackupSpec;
name?: string;
retentionDuration?: number;
readonly updateTime?: Date;
}

§Properties

§

Optional. The encryption configuration that is used to encrypt the backup. If this field is not specified, the backup uses the same encryption configuration as the database.

§
fullBackupSpec?: FullBackupSpec
[src]

The schedule creates only full backups.

§
incrementalBackupSpec?: IncrementalBackupSpec
[src]

The schedule creates incremental backup chains.

§
name?: string
[src]

Identifier. Output only for the CreateBackupSchedule operation. Required for the UpdateBackupSchedule operation. A globally unique identifier for the backup schedule which cannot be changed. Values are of the form projects//instances//databases//backupSchedules/a-z*[a-z0-9] The final segment of the name must be between 2 and 60 characters in length.

§
retentionDuration?: number
[src]

Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.

§

Optional. The schedule specification based on which the backup creations are triggered.

§
readonly updateTime?: Date
[src]

Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.