Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::VolumeRestore (v0.6.0)

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

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#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 the etag 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

#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

#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

#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