Backup class

Represents a request to perform a single point-in-time capture of some portion of the state of a GKE cluster, the record of the backup operation itself, and an anchor for the underlying artifacts that comprise the Backup (the config backup and VolumeBackups).

Constructors

Backup({bool? allNamespaces, ClusterMetadata? clusterMetadata, String? completeTime, String? configBackupSizeBytes, bool? containsSecrets, bool? containsVolumeData, String? createTime, int? deleteLockDays, String? deleteLockExpireTime, String? description, EncryptionKey? encryptionKey, String? etag, Map<String, String>? labels, bool? manual, String? name, bool? permissiveMode, int? podCount, int? resourceCount, int? retainDays, String? retainExpireTime, NamespacedNames? selectedApplications, Namespaces? selectedNamespaces, String? sizeBytes, String? state, String? stateReason, String? uid, String? updateTime, int? volumeCount})
Backup.fromJson(Map json_)

Properties

allNamespaces bool?
If True, all namespaces were included in the Backup.
getter/setter pair
clusterMetadata ClusterMetadata?
Information about the GKE cluster from which this Backup was created.
getter/setter pair
completeTime String?
Completion time of the Backup
getter/setter pair
configBackupSizeBytes String?
The size of the config backup in bytes.
getter/setter pair
containsSecrets bool?
Whether or not the Backup contains Kubernetes Secrets.
getter/setter pair
containsVolumeData bool?
Whether or not the Backup contains volume data.
getter/setter pair
createTime String?
The timestamp when this Backup resource was created.
getter/setter pair
deleteLockDays int?
Minimum age for this Backup (in days).
getter/setter pair
deleteLockExpireTime String?
The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).
getter/setter pair
description String?
User specified descriptive string for this Backup.
getter/setter pair
encryptionKey EncryptionKey?
The customer managed encryption key that was used to encrypt the Backup's artifacts.
getter/setter pair
etag String?
etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
A set of custom labels supplied by user.
getter/setter pair
manual bool?
This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan.
getter/setter pair
name String?
The fully qualified name of the Backup.
getter/setter pair
permissiveMode bool?
If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore.
getter/setter pair
podCount int?
The total number of Kubernetes Pods contained in the Backup.
getter/setter pair
resourceCount int?
The total number of Kubernetes resources included in the Backup.
getter/setter pair
retainDays int?
The age (in days) after which this Backup will be automatically deleted.
getter/setter pair
retainExpireTime String?
The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedApplications NamespacedNames?
If set, the list of ProtectedApplications whose resources were included in the Backup.
getter/setter pair
selectedNamespaces Namespaces?
If set, the list of namespaces that were included in the Backup.
getter/setter pair
sizeBytes String?
The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
getter/setter pair
state String?
Current state of the Backup
getter/setter pair
stateReason String?
Human-readable description of why the backup is in the current state.
getter/setter pair
uid String?
Server generated global unique identifier of UUID4
getter/setter pair
updateTime String?
The timestamp when this Backup resource was last updated.
getter/setter pair
volumeCount int?
The total number of volume backups contained in the Backup.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited