View Source GoogleApi.GKEBackup.V1.Model.BackupConfig (google_api_gke_backup v0.6.0)

BackupConfig defines the configuration of Backups created via this BackupPlan.

Attributes

  • allNamespaces (type: boolean(), default: nil) - If True, include all namespaced resources
  • encryptionKey (type: GoogleApi.GKEBackup.V1.Model.EncryptionKey.t, default: nil) - Optional. This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
  • includeSecrets (type: boolean(), default: nil) - Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
  • includeVolumeData (type: boolean(), default: nil) - Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
  • permissiveMode (type: boolean(), default: nil) - Optional. If false, Backups will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Default: False
  • selectedApplications (type: GoogleApi.GKEBackup.V1.Model.NamespacedNames.t, default: nil) - If set, include just the resources referenced by the listed ProtectedApplications.
  • selectedNamespaces (type: GoogleApi.GKEBackup.V1.Model.Namespaces.t, default: nil) - If set, include just the resources in the listed namespaces.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEBackup.V1.Model.BackupConfig{
  allNamespaces: boolean() | nil,
  encryptionKey: GoogleApi.GKEBackup.V1.Model.EncryptionKey.t() | nil,
  includeSecrets: boolean() | nil,
  includeVolumeData: boolean() | nil,
  permissiveMode: boolean() | nil,
  selectedApplications: GoogleApi.GKEBackup.V1.Model.NamespacedNames.t() | nil,
  selectedNamespaces: GoogleApi.GKEBackup.V1.Model.Namespaces.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.