RestoreArgs

data class RestoreArgs(val backup: Output<String>? = null, val description: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val restoreId: Output<String>? = null, val restorePlanId: Output<String>? = null) : ConvertibleToJava<RestoreArgs>

Creates a new Restore for the given RestorePlan. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun RestoreArgs(backup: Output<String>? = null, description: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, project: Output<String>? = null, restoreId: Output<String>? = null, restorePlanId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RestoreArgs

Properties

Link copied to clipboard
val backup: Output<String>? = null

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
val description: Output<String>? = null

User specified descriptive string for this Restore.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

A set of custom labels supplied by user.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val restoreId: Output<String>? = null

Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.

Link copied to clipboard
val restorePlanId: Output<String>? = null

////