Class VolumeRestore (0.5.8)

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

Represents the operation of restoring a volume from a VolumeBackup.

Attributes

NameDescription
name str
Output only. Full name of the VolumeRestore resource. Format: projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*
uid str
Output only. Server generated global unique identifier of UUID __ format.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this VolumeRestore resource was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this VolumeRestore resource was last updated.
volume_backup str
Output only. The full name of the VolumeBackup from which the volume will be restored. Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*.
target_pvc google.cloud.gke_backup_v1.types.NamespacedName
Output only. The reference to the target Kubernetes PVC to be restored.
volume_handle str
Output only. A storage system-specific opaque handler to the underlying volume created for the target PVC from the volume backup.
volume_type google.cloud.gke_backup_v1.types.VolumeRestore.VolumeType
Output only. The type of volume provisioned
complete_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the associated underlying volume restoration completed.
state google.cloud.gke_backup_v1.types.VolumeRestore.State
Output only. The current state of this VolumeRestore.
state_message str
Output only. A human readable message explaining why the VolumeRestore is in its current state.
etag str
Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a volume restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform volume restore updates in order to avoid race conditions.

Classes

State

State(value)

The current state of a VolumeRestore

Values: STATE_UNSPECIFIED (0): This is an illegal state and should not be encountered. CREATING (1): A volume for the restore was identified and restore process is about to start. RESTORING (2): The volume is currently being restored. SUCCEEDED (3): The volume has been successfully restored. FAILED (4): The volume restoration process failed. DELETING (5): This VolumeRestore resource is in the process of being deleted.

VolumeType

VolumeType(value)

Supported volume types.

Values: VOLUME_TYPE_UNSPECIFIED (0): Default GCE_PERSISTENT_DISK (1): Compute Engine Persistent Disk volume