SnapshotArgs

data class SnapshotArgs(val description: Output<String>? = null, val instanceId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val snapshotId: Output<String>? = null) : ConvertibleToJava<SnapshotArgs>

Creates a snapshot. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun SnapshotArgs(description: Output<String>? = null, instanceId: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, project: Output<String>? = null, snapshotId: Output<String>? = null)

Functions

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

Properties

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

A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.

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

Resource labels to represent user provided metadata.

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

Required. The ID to use for the snapshot. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.