Google Cloud Bigtable Administration v2 API - Class CopyBackupRequest (3.20.0)

public sealed class CopyBackupRequest : IMessage<CopyBackupRequest>, IEquatable<CopyBackupRequest>, IDeepCloneable<CopyBackupRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Bigtable Administration v2 API class CopyBackupRequest.

The request for [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].

Inheritance

object > CopyBackupRequest

Namespace

Google.Cloud.Bigtable.Admin.V2

Assembly

Google.Cloud.Bigtable.Admin.V2.dll

Constructors

CopyBackupRequest()

public CopyBackupRequest()

CopyBackupRequest(CopyBackupRequest)

public CopyBackupRequest(CopyBackupRequest other)
Parameter
Name Description
other CopyBackupRequest

Properties

BackupId

public string BackupId { get; set; }

Required. The id of the new backup. The backup_id along with 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][-.a-zA-Z0-9]*.

Property Value
Type Description
string

ExpireTime

public Timestamp ExpireTime { get; set; }

Required. Required. The expiration time of the copied backup with microsecond 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.

Property Value
Type Description
Timestamp

Parent

public string Parent { get; set; }

Required. The name of the destination cluster that will contain the backup copy. The cluster must already exist. Values are of the form: projects/{project}/instances/{instance}/clusters/{cluster}.

Property Value
Type Description
string

ParentAsClusterName

public ClusterName ParentAsClusterName { get; set; }

ClusterName-typed view over the Parent resource name property.

Property Value
Type Description
ClusterName

SourceBackup

public string SourceBackup { get; set; }

Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

Property Value
Type Description
string

SourceBackupAsBackupName

public BackupName SourceBackupAsBackupName { get; set; }

BackupName-typed view over the SourceBackup resource name property.

Property Value
Type Description
BackupName