Class: Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig
- Inherits:
-
Object
- Object
- Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/gkebackup/v1/backup_plan.rb
Overview
BackupConfig defines the configuration of Backups created via this BackupPlan.
Instance Attribute Summary collapse
-
#all_namespaces ⇒ ::Boolean
If True, include all namespaced resources.
-
#encryption_key ⇒ ::Google::Cloud::GkeBackup::V1::EncryptionKey
Optional.
-
#include_secrets ⇒ ::Boolean
Optional.
-
#include_volume_data ⇒ ::Boolean
Optional.
-
#permissive_mode ⇒ ::Boolean
Optional.
-
#selected_applications ⇒ ::Google::Cloud::GkeBackup::V1::NamespacedNames
If set, include just the resources referenced by the listed ProtectedApplications.
-
#selected_namespaces ⇒ ::Google::Cloud::GkeBackup::V1::Namespaces
If set, include just the resources in the listed namespaces.
Instance Attribute Details
#all_namespaces ⇒ ::Boolean
Returns If True, include all namespaced resources
Note: The following fields are mutually exclusive: all_namespaces
, selected_namespaces
, selected_applications
. If a field in that set is populated, all other fields in the set will automatically be cleared.
246 247 248 249 |
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 246 class BackupConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#encryption_key ⇒ ::Google::Cloud::GkeBackup::V1::EncryptionKey
Returns 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.
246 247 248 249 |
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 246 class BackupConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#include_secrets ⇒ ::Boolean
Returns Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
Default: False.
246 247 248 249 |
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 246 class BackupConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#include_volume_data ⇒ ::Boolean
Returns Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup.
Default: False.
246 247 248 249 |
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 246 class BackupConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#permissive_mode ⇒ ::Boolean
Returns 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.
246 247 248 249 |
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 246 class BackupConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#selected_applications ⇒ ::Google::Cloud::GkeBackup::V1::NamespacedNames
Returns If set, include just the resources referenced by the listed ProtectedApplications.
Note: The following fields are mutually exclusive: selected_applications
, all_namespaces
, selected_namespaces
. If a field in that set is populated, all other fields in the set will automatically be cleared.
246 247 248 249 |
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 246 class BackupConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#selected_namespaces ⇒ ::Google::Cloud::GkeBackup::V1::Namespaces
Returns If set, include just the resources in the listed namespaces.
Note: The following fields are mutually exclusive: selected_namespaces
, all_namespaces
, selected_applications
. If a field in that set is populated, all other fields in the set will automatically be cleared.
246 247 248 249 |
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 246 class BackupConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |