Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::VolumeRestore.
Represents the operation of restoring a volume from a VolumeBackup. Next id: 13
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#complete_time
def complete_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the associated underlying volume restoration completed.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when this VolumeRestore resource was created.
#etag
def etag() -> ::String
Returns
-
(::String) — 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 theetag
in the read-modify-write cycle to perform volume restore updates in order to avoid race conditions.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Full name of the VolumeRestore resource.
Format:
projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*
#state
def state() -> ::Google::Cloud::GkeBackup::V1::VolumeRestore::State
Returns
- (::Google::Cloud::GkeBackup::V1::VolumeRestore::State) — Output only. The current state of this VolumeRestore.
#state_message
def state_message() -> ::String
Returns
- (::String) — Output only. A human readable message explaining why the VolumeRestore is in its current state.
#target_pvc
def target_pvc() -> ::Google::Cloud::GkeBackup::V1::NamespacedName
Returns
- (::Google::Cloud::GkeBackup::V1::NamespacedName) — Output only. The reference to the target Kubernetes PVC to be restored.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. Server generated global unique identifier of UUID format.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when this VolumeRestore resource was last updated.
#volume_backup
def volume_backup() -> ::String
Returns
-
(::String) — Output only. The full name of the VolumeBackup from which the volume will
be restored. Format:
projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*
.
#volume_handle
def volume_handle() -> ::String
Returns
- (::String) — Output only. A storage system-specific opaque handler to the underlying volume created for the target PVC from the volume backup.
#volume_type
def volume_type() -> ::Google::Cloud::GkeBackup::V1::VolumeRestore::VolumeType
Returns
- (::Google::Cloud::GkeBackup::V1::VolumeRestore::VolumeType) — Output only. The type of volume provisioned