Google Cloud Spanner Database Administration v1 API - Class CopyBackupMetadata (5.0.0-beta02)

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

Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class CopyBackupMetadata.

Metadata type for the google.longrunning.Operation returned by [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].

Inheritance

object > CopyBackupMetadata

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

Google.Cloud.Spanner.Admin.Database.V1.dll

Constructors

CopyBackupMetadata()

public CopyBackupMetadata()

CopyBackupMetadata(CopyBackupMetadata)

public CopyBackupMetadata(CopyBackupMetadata other)
Parameter
NameDescription
otherCopyBackupMetadata

Properties

BackupName

public BackupName BackupName { get; set; }

BackupName-typed view over the Name resource name property.

Property Value
TypeDescription
BackupName

CancelTime

public Timestamp CancelTime { get; set; }

The time at which cancellation of CopyBackup operation was received. [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to Code.CANCELLED.

Property Value
TypeDescription
Timestamp

Name

public string Name { get; set; }

The name of the backup being created through the copy operation. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Property Value
TypeDescription
string

Progress

public OperationProgress Progress { get; set; }

The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.

Property Value
TypeDescription
OperationProgress

SourceBackup

public string SourceBackup { get; set; }

The name of the source backup that is being copied. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Property Value
TypeDescription
string

SourceBackupAsBackupName

public BackupName SourceBackupAsBackupName { get; set; }

BackupName-typed view over the SourceBackup resource name property.

Property Value
TypeDescription
BackupName