Backup for GKE v1 API - Class VolumeBackup (2.4.0)

public sealed class VolumeBackup : IMessage<VolumeBackup>, IEquatable<VolumeBackup>, IDeepCloneable<VolumeBackup>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class VolumeBackup.

Represents the backup of a specific persistent volume as a component of a Backup - both the record of the operation and a pointer to the underlying storage-specific artifacts.

Inheritance

object > VolumeBackup

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

VolumeBackup()

public VolumeBackup()

VolumeBackup(VolumeBackup)

public VolumeBackup(VolumeBackup other)
Parameter
NameDescription
otherVolumeBackup

Properties

CompleteTime

public Timestamp CompleteTime { get; set; }

Output only. The timestamp when the associated underlying volume backup operation completed.

Property Value
TypeDescription
Timestamp

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when this VolumeBackup resource was created.

Property Value
TypeDescription
Timestamp

DiskSizeBytes

public long DiskSizeBytes { get; set; }

Output only. The minimum size of the disk to which this VolumeBackup can be restored.

Property Value
TypeDescription
long

Etag

public string Etag { get; set; }

Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a volume backup from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform volume backup updates in order to avoid race conditions.

Property Value
TypeDescription
string

Format

public VolumeBackup.Types.VolumeBackupFormat Format { get; set; }

Output only. The format used for the volume backup.

Property Value
TypeDescription
VolumeBackupTypesVolumeBackupFormat

Name

public string Name { get; set; }

Output only. The full name of the VolumeBackup resource. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*.

Property Value
TypeDescription
string

SourcePvc

public NamespacedName SourcePvc { get; set; }

Output only. A reference to the source Kubernetes PVC from which this VolumeBackup was created.

Property Value
TypeDescription
NamespacedName

State

public VolumeBackup.Types.State State { get; set; }

Output only. The current state of this VolumeBackup.

Property Value
TypeDescription
VolumeBackupTypesState

StateMessage

public string StateMessage { get; set; }

Output only. A human readable message explaining why the VolumeBackup is in its current state.

Property Value
TypeDescription
string

StorageBytes

public long StorageBytes { get; set; }

Output only. The aggregate size of the underlying artifacts associated with this VolumeBackup in the backup storage. This may change over time when multiple backups of the same volume share the same backup storage location. In particular, this is likely to increase in size when the immediately preceding backup of the same volume is deleted.

Property Value
TypeDescription
long

Uid

public string Uid { get; set; }

Output only. Server generated global unique identifier of UUID format.

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when this VolumeBackup resource was last updated.

Property Value
TypeDescription
Timestamp

VolumeBackupHandle

public string VolumeBackupHandle { get; set; }

Output only. A storage system-specific opaque handle to the underlying volume backup.

Property Value
TypeDescription
string

VolumeBackupName

public VolumeBackupName VolumeBackupName { get; set; }

VolumeBackupName-typed view over the Name resource name property.

Property Value
TypeDescription
VolumeBackupName