View Source GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1BackupSchedule (google_api_firestore v0.27.0)

A backup schedule for a Cloud Firestore Database. This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp at which this backup schedule was created and effective since. No backups will be created for this schedule before this time.
  • dailyRecurrence (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1DailyRecurrence.t, default: nil) - For a schedule that runs daily at a specified time.
  • name (type: String.t, default: nil) - Output only. The unique backup schedule identifier across all locations and databases for the given project. This will be auto-assigned. Format is projects/{project}/databases/{database}/backupSchedules/{backup_schedule}
  • retention (type: String.t, default: nil) - At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.
  • weeklyRecurrence (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1WeeklyRecurrence.t, default: nil) - For a schedule that runs weekly on a specific day and time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1BackupSchedule{
  createTime: DateTime.t() | nil,
  dailyRecurrence:
    GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1DailyRecurrence.t() | nil,
  name: String.t() | nil,
  retention: String.t() | nil,
  updateTime: DateTime.t() | nil,
  weeklyRecurrence:
    GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1WeeklyRecurrence.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.