Class CreateBackupMetadata (3.10.0)

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

Metadata type for the operation returned by [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].

Inheritance

Object > CreateBackupMetadata

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

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

Constructors

CreateBackupMetadata()

public CreateBackupMetadata()

CreateBackupMetadata(CreateBackupMetadata)

public CreateBackupMetadata(CreateBackupMetadata other)
Parameter
NameDescription
otherCreateBackupMetadata

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 this 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

Database

public string Database { get; set; }

The name of the database the backup is created from.

Property Value
TypeDescription
String

DatabaseAsDatabaseName

public DatabaseName DatabaseAsDatabaseName { get; set; }

Google.Cloud.Spanner.Common.V1.DatabaseName-typed view over the Database resource name property.

Property Value
TypeDescription
Google.Cloud.Spanner.Common.V1.DatabaseName

Name

public string Name { get; set; }

The name of the backup being created.

Property Value
TypeDescription
String

Progress

public OperationProgress Progress { get; set; }

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

Property Value
TypeDescription
OperationProgress