GoogleApi.Spanner.V1.Model.BackupSchedule (google_api_spanner v0.48.0)

View Source

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

Attributes

  • encryptionConfig (type: GoogleApi.Spanner.V1.Model.CreateBackupEncryptionConfig.t, default: nil) - 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 (type: GoogleApi.Spanner.V1.Model.FullBackupSpec.t, default: nil) - The schedule creates only full backups.
  • incrementalBackupSpec (type: GoogleApi.Spanner.V1.Model.IncrementalBackupSpec.t, default: nil) - The schedule creates incremental backup chains.
  • name (type: String.t, default: nil) - 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 (type: String.t, default: nil) - 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.
  • spec (type: GoogleApi.Spanner.V1.Model.BackupScheduleSpec.t, default: nil) - Optional. The schedule specification based on which the backup creations are triggered.
  • updateTime (type: DateTime.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.BackupSchedule{
  encryptionConfig:
    GoogleApi.Spanner.V1.Model.CreateBackupEncryptionConfig.t() | nil,
  fullBackupSpec: GoogleApi.Spanner.V1.Model.FullBackupSpec.t() | nil,
  incrementalBackupSpec:
    GoogleApi.Spanner.V1.Model.IncrementalBackupSpec.t() | nil,
  name: String.t() | nil,
  retentionDuration: String.t() | nil,
  spec: GoogleApi.Spanner.V1.Model.BackupScheduleSpec.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.