BackupScheduleArgs

data class BackupScheduleArgs(val dailyRecurrence: Output<GoogleFirestoreAdminV1DailyRecurrenceArgs>? = null, val databaseId: Output<String>? = null, val project: Output<String>? = null, val retention: Output<String>? = null, val weeklyRecurrence: Output<GoogleFirestoreAdminV1WeeklyRecurrenceArgs>? = null) : ConvertibleToJava<BackupScheduleArgs>

Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule with retention up to 7 days and one weekly backup schedule with retention up to 14 weeks. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
constructor(dailyRecurrence: Output<GoogleFirestoreAdminV1DailyRecurrenceArgs>? = null, databaseId: Output<String>? = null, project: Output<String>? = null, retention: Output<String>? = null, weeklyRecurrence: Output<GoogleFirestoreAdminV1WeeklyRecurrenceArgs>? = null)

Properties

Link copied to clipboard

For a schedule that runs daily at a specified time.

Link copied to clipboard
val databaseId: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val retention: Output<String>? = null

At what relative time in the future, compared to the creation time of the backup should the backup be deleted, i.e. keep backups for 7 days.

Link copied to clipboard

For a schedule that runs weekly on a specific day and time.

Functions

Link copied to clipboard
open override fun toJava(): BackupScheduleArgs