Google Cloud Spanner Database Administration v1 API - Class CreateBackupMetadata (4.4.0)

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

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

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

Inheritance

object > CreateBackupMetadata

Namespace

GoogleCloudGoogle.Cloud.SpannerGoogle.Cloud.Spanner.AdminGoogle.Cloud.Spanner.Admin.DatabaseV1

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; }

DatabaseName-typed view over the Database resource name property.

Property Value
TypeDescription
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