Class BackupConfig (0.2.2)

BackupConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

BackupConfig defines the configuration of Backups created via this BackupPlan.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
all_namespaces bool
If True, include all namespaced resources This field is a member of oneof_ backup_scope.
selected_namespaces google.cloud.gke_backup_v1.types.Namespaces
If set, include just the resources in the listed namespaces. This field is a member of oneof_ backup_scope.
selected_applications google.cloud.gke_backup_v1.types.NamespacedNames
If set, include just the resources referenced by the listed ProtectedApplications. This field is a member of oneof_ backup_scope.
include_volume_data bool
This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
include_secrets bool
This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
encryption_key google.cloud.gke_backup_v1.types.EncryptionKey
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.