public sealed class BackupInfo : IMessage<BackupInfo>, IEquatable<BackupInfo>, IDeepCloneable<BackupInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class BackupInfo.
Information about a backup.
Implements
IMessageBackupInfo, IEquatableBackupInfo, IDeepCloneableBackupInfo, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
BackupInfo()
public BackupInfo()
BackupInfo(BackupInfo)
public BackupInfo(BackupInfo other)
Parameter | |
---|---|
Name | Description |
other |
BackupInfo |
Properties
Backup
public string Backup { get; set; }
Name of the backup.
Property Value | |
---|---|
Type | Description |
string |
BackupAsBackupName
public BackupName BackupAsBackupName { get; set; }
BackupName-typed view over the Backup resource name property.
Property Value | |
---|---|
Type | Description |
BackupName |
CreateTime
public Timestamp CreateTime { get; set; }
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
Property Value | |
---|---|
Type | Description |
Timestamp |
SourceDatabase
public string SourceDatabase { get; set; }
Name of the database the backup was created from.
Property Value | |
---|---|
Type | Description |
string |
SourceDatabaseAsDatabaseName
public DatabaseName SourceDatabaseAsDatabaseName { get; set; }
Google.Cloud.Spanner.Common.V1.DatabaseName-typed view over the SourceDatabase resource name property.
Property Value | |
---|---|
Type | Description |
Google.Cloud.Spanner.Common.V1.DatabaseName |
VersionTime
public Timestamp VersionTime { get; set; }
The backup contains an externally consistent copy of source_database
at
the timestamp specified by version_time
. If the
[CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify
version_time
, the version_time
of the backup is equivalent to the
create_time
.
Property Value | |
---|---|
Type | Description |
Timestamp |