public sealed class CopyBackupMetadata : IMessage<CopyBackupMetadata>, IEquatable<CopyBackupMetadata>, IDeepCloneable<CopyBackupMetadata>, IBufferMessage, IMessage
Metadata type for the google.longrunning.Operation returned by [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
Implements
IMessage<CopyBackupMetadata>, IEquatable<CopyBackupMetadata>, IDeepCloneable<CopyBackupMetadata>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
CopyBackupMetadata()
public CopyBackupMetadata()
CopyBackupMetadata(CopyBackupMetadata)
public CopyBackupMetadata(CopyBackupMetadata other)
Parameter | |
---|---|
Name | Description |
other | CopyBackupMetadata |
Properties
BackupName
public BackupName BackupName { get; set; }
BackupName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
Progress
public OperationProgress Progress { get; set; }
The progress of the [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup] operation.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
SourceBackupAsBackupName
public BackupName SourceBackupAsBackupName { get; set; }
BackupName-typed view over the SourceBackup resource name property.
Property Value | |
---|---|
Type | Description |
BackupName |