GetRestoreResult

data class GetRestoreResult(val backup: String, val cluster: String, val completeTime: String, val createTime: String, val description: String, val etag: String, val labels: Map<String, String>, val name: String, val resourcesExcludedCount: Int, val resourcesFailedCount: Int, val resourcesRestoredCount: Int, val restoreConfig: RestoreConfigResponse, val state: String, val stateReason: String, val uid: String, val updateTime: String, val volumesRestoredCount: Int)

Constructors

Link copied to clipboard
fun GetRestoreResult(backup: String, cluster: String, completeTime: String, createTime: String, description: String, etag: String, labels: Map<String, String>, name: String, resourcesExcludedCount: Int, resourcesFailedCount: Int, resourcesRestoredCount: Int, restoreConfig: RestoreConfigResponse, state: String, stateReason: String, uid: String, updateTime: String, volumesRestoredCount: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.

Link copied to clipboard

The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.

Link copied to clipboard

Timestamp of when the restore operation completed.

Link copied to clipboard

The timestamp when this Restore resource was created.

Link copied to clipboard

User specified descriptive string for this Restore.

Link copied to clipboard

etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore 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

The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*

Link copied to clipboard

Number of resources excluded during the restore execution.

Link copied to clipboard

Number of resources that failed to be restored during the restore execution.

Link copied to clipboard

Number of resources restored during the restore execution.

Link copied to clipboard

Configuration of the Restore. Inherited from parent RestorePlan's restore_config.

Link copied to clipboard

The current state of the Restore.

Link copied to clipboard

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

Link copied to clipboard
val uid: String

Server generated global unique identifier of UUID format.

Link copied to clipboard

The timestamp when this Restore resource was last updated.

Link copied to clipboard

Number of volumes restored during the restore execution. //////////////