Send feedback
Backup and DR Service v1 API - Class Backup (2.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public sealed class Backup : IMessage<Backup>, IEquatable<Backup>, IDeepCloneable<Backup>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class Backup.
Message describing a Backup object.
Namespace
Google.Cloud.BackupDR.V1
Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
Backup()
Backup(Backup)
public Backup(Backup other)
Parameter
Name
Description
other
Backup
Properties
BackupApplianceBackupProperties
public BackupApplianceBackupProperties BackupApplianceBackupProperties { get; set; }
Output only. Backup Appliance specific backup properties.
BackupApplianceLocks
public RepeatedField<BackupLock> BackupApplianceLocks { get; }
Optional. The list of BackupLocks taken by the accessor Backup Appliance.
BackupName
public BackupName BackupName { get; set; }
BackupPropertiesCase
public Backup.BackupPropertiesOneofCase BackupPropertiesCase { get; }
BackupRetentionInheritance
public BackupVault.Types.BackupRetentionInheritance BackupRetentionInheritance { get; set; }
Output only. Setting for how the enforced retention end time is inherited.
This value is copied from this backup's BackupVault.
BackupType
public Backup.Types.BackupType BackupType { get; set; }
Output only. Type of the backup, unspecified, scheduled or ondemand.
CloudSqlInstanceBackupProperties
public CloudSqlInstanceBackupProperties CloudSqlInstanceBackupProperties { get; set; }
Output only. Cloud SQL specific backup properties.
ComputeInstanceBackupProperties
public ComputeInstanceBackupProperties ComputeInstanceBackupProperties { get; set; }
Output only. Compute Engine specific backup properties.
ConsistencyTime
public Timestamp ConsistencyTime { get; set; }
Output only. The point in time when this backup was captured from the
source.
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the instance was created.
Description
public string Description { get; set; }
Output only. The description of the Backup instance (2048 characters or
less).
Property Value
Type
Description
string
DiskBackupProperties
public DiskBackupProperties DiskBackupProperties { get; set; }
Output only. Disk specific backup properties.
EnforcedRetentionEndTime
public Timestamp EnforcedRetentionEndTime { get; set; }
Optional. The backup can not be deleted before this time.
Etag
public string Etag { get; set; }
Optional. Server specified ETag to prevent updates from overwriting each
other.
Property Value
Type
Description
string
ExpireTime
public Timestamp ExpireTime { get; set; }
Optional. When this backup is automatically expired.
GcpBackupPlanInfo
public Backup.Types.GCPBackupPlanInfo GcpBackupPlanInfo { get; set; }
Output only. Configuration for a Google Cloud resource.
GcpResource
public BackupGcpResource GcpResource { get; set; }
Output only. Unique identifier of the GCP resource that is being backed
up.
HasBackupRetentionInheritance
public bool HasBackupRetentionInheritance { get; }
Gets whether the "backup_retention_inheritance" field is set
Property Value
Type
Description
bool
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value
Type
Description
bool
HasEtag
public bool HasEtag { get; }
Gets whether the "etag" field is set
Property Value
Type
Description
bool
HasSatisfiesPzi
public bool HasSatisfiesPzi { get; }
Gets whether the "satisfies_pzi" field is set
Property Value
Type
Description
bool
HasSatisfiesPzs
public bool HasSatisfiesPzs { get; }
Gets whether the "satisfies_pzs" field is set
Property Value
Type
Description
bool
KmsKeyVersions
public RepeatedField<string> KmsKeyVersions { get; }
Optional. Output only. The list of KMS key versions used to encrypt the
backup.
KmsKeyVersionsAsCryptoKeyVersionNames
public ResourceNameList<CryptoKeyVersionName> KmsKeyVersionsAsCryptoKeyVersionNames { get; }
Labels
public MapField<string, string> Labels { get; }
Optional. Resource labels to represent user provided metadata.
No labels currently defined.
Name
public string Name { get; set; }
Output only. Identifier. Name of the backup to create. It must have the
format"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}".
{backup} cannot be changed after creation. It must be between 3-63
characters long and must be unique within the datasource.
Property Value
Type
Description
string
PlanInfoCase
public Backup.PlanInfoOneofCase PlanInfoCase { get; }
ResourceSizeBytes
public long ResourceSizeBytes { get; set; }
Output only. source resource size in bytes at the time of the backup.
Property Value
Type
Description
long
SatisfiesPzi
public bool SatisfiesPzi { get; set; }
Optional. Output only. Reserved for future use.
Property Value
Type
Description
bool
SatisfiesPzs
public bool SatisfiesPzs { get; set; }
Optional. Output only. Reserved for future use.
Property Value
Type
Description
bool
ServiceLocks
public RepeatedField<BackupLock> ServiceLocks { get; }
Output only. The list of BackupLocks taken by the service to prevent the
deletion of the backup.
SourceResourceCase
public Backup.SourceResourceOneofCase SourceResourceCase { get; }
State
public Backup.Types.State State { get; set; }
Output only. The Backup resource instance state.
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time when the instance was updated.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-03 UTC."],[],[]]