VolumeRestoreParameters

data class VolumeRestoreParameters(val sourceBackup: String? = null, val sourceSnapshot: String? = null)

Constructors

Link copied to clipboard
constructor(sourceBackup: String? = null, sourceSnapshot: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val sourceBackup: String? = null

Full name of the backup to use for creating this volume. source_snapshot and source_backup cannot be used simultaneously. Format: projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}.

Link copied to clipboard
val sourceSnapshot: String? = null

Full name of the snapshot to use for creating this volume. source_snapshot and source_backup cannot be used simultaneously. Format: projects/{{project}}/locations/{{location}}/volumes/{{volume}}/snapshots/{{snapshot}}.