BackupArgs

data class BackupArgs(val backupId: Output<String>? = null, val clusterId: Output<String>? = null, val expireTime: Output<String>? = null, val instanceId: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val sourceTable: Output<String>? = null) : ConvertibleToJava<BackupArgs>

Starts creating a new Cloud Bigtable Backup. The returned backup long-running operation can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
constructor(backupId: Output<String>? = null, clusterId: Output<String>? = null, expireTime: Output<String>? = null, instanceId: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, sourceTable: Output<String>? = null)

Properties

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

Required. The id of the backup to be created. The backup_id along with the parent parent are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}. This string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*.

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

The expiration time of the backup, with microseconds granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the expire_time has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.

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

A globally unique identifier for the backup which cannot be changed. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9* The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form projects/{project}/instances/{instance}/clusters/{cluster}.

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

Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form projects/{project}/instances/{instance}/tables/{source_table}.

Functions

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