GetBackupResult

data class GetBackupResult(val allNamespaces: Boolean, val clusterMetadata: ClusterMetadataResponse, val completeTime: String, val configBackupSizeBytes: String, val containsSecrets: Boolean, val containsVolumeData: Boolean, val createTime: String, val deleteLockDays: Int, val deleteLockExpireTime: String, val description: String, val encryptionKey: EncryptionKeyResponse, val etag: String, val labels: Map<String, String>, val manual: Boolean, val name: String, val podCount: Int, val resourceCount: Int, val retainDays: Int, val retainExpireTime: String, val selectedApplications: NamespacedNamesResponse, val selectedNamespaces: NamespacesResponse, val sizeBytes: String, val state: String, val stateReason: String, val uid: String, val updateTime: String, val volumeCount: Int)

Constructors

Link copied to clipboard
fun GetBackupResult(allNamespaces: Boolean, clusterMetadata: ClusterMetadataResponse, completeTime: String, configBackupSizeBytes: String, containsSecrets: Boolean, containsVolumeData: Boolean, createTime: String, deleteLockDays: Int, deleteLockExpireTime: String, description: String, encryptionKey: EncryptionKeyResponse, etag: String, labels: Map<String, String>, manual: Boolean, name: String, podCount: Int, resourceCount: Int, retainDays: Int, retainExpireTime: String, selectedApplications: NamespacedNamesResponse, selectedNamespaces: NamespacesResponse, sizeBytes: String, state: String, stateReason: String, uid: String, updateTime: String, volumeCount: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If True, all namespaces were included in the Backup.

Link copied to clipboard

Information about the GKE cluster from which this Backup was created.

Link copied to clipboard

Completion time of the Backup

Link copied to clipboard

The size of the config backup in bytes.

Link copied to clipboard

Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.

Link copied to clipboard

Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.

Link copied to clipboard

The timestamp when this Backup resource was created.

Link copied to clipboard

Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).

Link copied to clipboard

The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).

Link copied to clipboard

User specified descriptive string for this Backup.

Link copied to clipboard

The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.

Link copied to clipboard

etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform backup updates in order to avoid race conditions: An etag is returned in the response to GetBackup, and systems are expected to put that etag in the request to UpdateBackup or DeleteBackup to ensure that their change will be applied to the same version of the resource.

Link copied to clipboard

A set of custom labels supplied by user.

Link copied to clipboard

This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.

Link copied to clipboard

The fully qualified name of the Backup. projects/*/locations/*/backupPlans/*/backups/*

Link copied to clipboard

The total number of Kubernetes Pods contained in the Backup.

Link copied to clipboard

The total number of Kubernetes resources included in the Backup.

Link copied to clipboard

The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.

Link copied to clipboard

The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).

Link copied to clipboard

If set, the list of ProtectedApplications whose resources were included in the Backup.

Link copied to clipboard

If set, the list of namespaces that were included in the Backup.

Link copied to clipboard

The total size of the Backup in bytes = config backup size + sum(volume backup sizes)

Link copied to clipboard

Current state of the Backup

Link copied to clipboard

Human-readable description of why the backup is in the current state.

Link copied to clipboard
val uid: String

Server generated global unique identifier of UUID4

Link copied to clipboard

The timestamp when this Backup resource was last updated.

Link copied to clipboard

The total number of volume backups contained in the Backup. ////