public DatabaseVersion DatabaseVersion { get; set; }
Output only. The database engine major version of the cluster this backup
was created from. Any restored cluster created from this backup will have
the same database version.
public EncryptionConfig EncryptionConfig { get; set; }
Optional. The encryption config can be specified to encrypt the
backup with a customer-managed encryption key (CMEK). When this field is
not specified, the backup will then use default encryption scheme to
protect the user data.
public Backup.Types.QuantityBasedExpiry ExpiryQuantity { get; set; }
Output only. The QuantityBasedExpiry of the backup, specified by the
backup's retention policy. Once the expiry quantity is over retention, the
backup is eligible to be garbage collected.
Output only. The time at which after the backup is eligible to be garbage
collected. It is the duration specified by the backup's retention policy,
added to the backup's create_time.
Output only. The name of the backup resource with the format:
projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy the regex
expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of
lowercase letters, numbers, and dashes, starting with a letter, and ending
with a letter or number. For more details see https://google.aip.dev/122.
The prefix of the backup resource name is the name of the parent
resource:
Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
true, indicates that the service is actively updating the resource. This
can happen due to user-triggered updates or system actions like failover or
maintenance.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBackup\u003c/code\u003e class in the AlloyDB v1beta API represents a backup object and is found in the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes various properties for managing backup metadata, such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDeleteTime\u003c/code\u003e, \u003ccode\u003eExpiryTime\u003c/code\u003e, and \u003ccode\u003eSizeBytes\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackup\u003c/code\u003e objects can be created using the default constructor or by copying an existing \u003ccode\u003eBackup\u003c/code\u003e object, allowing for either a fresh instance or modification of an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports encryption configuration via \u003ccode\u003eEncryptionConfig\u003c/code\u003e and provides detailed encryption information through the \u003ccode\u003eEncryptionInfo\u003c/code\u003e property, which is output only.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties for managing the backup resource name (\u003ccode\u003eName\u003c/code\u003e), associated cluster (\u003ccode\u003eClusterName\u003c/code\u003e), and the backup's current operational status (\u003ccode\u003eState\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class Backup (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Backup)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.Backup) \n\n public sealed class Backup : IMessage\u003cBackup\u003e, IEquatable\u003cBackup\u003e, IDeepCloneable\u003cBackup\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class Backup.\n\nMessage describing Backup object \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Backup \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Backup](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Backup), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Backup](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Backup), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Backup](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Backup), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### Backup()\n\n public Backup()\n\n### Backup(Backup)\n\n public Backup(Backup other)\n\nProperties\n----------\n\n### Annotations\n\n public MapField\u003cstring, string\u003e Annotations { get; }\n\nAnnotations to allow client tools to store small amount of arbitrary data.\nThis is distinct from labels.\n\u003chttps://google.aip.dev/128\u003e\n\n### BackupName\n\n public BackupName BackupName { get; set; }\n\n[BackupName](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.BackupName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Backup#Google_Cloud_AlloyDb_V1Beta_Backup_Name) resource name property.\n\n### ClusterName\n\n public string ClusterName { get; set; }\n\nRequired. The full resource name of the backup source cluster\n(e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).\n\n### ClusterNameAsClusterName\n\n public ClusterName ClusterNameAsClusterName { get; set; }\n\n[ClusterName](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ClusterName)-typed view over the [ClusterName](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.Backup#Google_Cloud_AlloyDb_V1Beta_Backup_ClusterName) resource name property.\n\n### ClusterUid\n\n public string ClusterUid { get; set; }\n\nOutput only. The system-generated UID of the cluster which was used to\ncreate this resource.\n\n### CreateCompletionTime\n\n public Timestamp CreateCompletionTime { get; set; }\n\nOutput only. Timestamp when the resource finished being created.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Create time stamp\n\n### DatabaseVersion\n\n public DatabaseVersion DatabaseVersion { get; set; }\n\nOutput only. The database engine major version of the cluster this backup\nwas created from. Any restored cluster created from this backup will have\nthe same database version.\n\n### DeleteTime\n\n public Timestamp DeleteTime { get; set; }\n\nOutput only. Delete time stamp\n\n### Description\n\n public string Description { get; set; }\n\nUser-provided description of the backup.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nUser-settable and human-readable display name for the Backup.\n\n### EncryptionConfig\n\n public EncryptionConfig EncryptionConfig { get; set; }\n\nOptional. The encryption config can be specified to encrypt the\nbackup with a customer-managed encryption key (CMEK). When this field is\nnot specified, the backup will then use default encryption scheme to\nprotect the user data.\n\n### EncryptionInfo\n\n public EncryptionInfo EncryptionInfo { get; set; }\n\nOutput only. The encryption information for the backup.\n\n### Etag\n\n public string Etag { get; set; }\n\nFor Resource freshness validation (\u003chttps://google.aip.dev/154\u003e)\n\n### ExpiryQuantity\n\n public Backup.Types.QuantityBasedExpiry ExpiryQuantity { get; set; }\n\nOutput only. The QuantityBasedExpiry of the backup, specified by the\nbackup's retention policy. Once the expiry quantity is over retention, the\nbackup is eligible to be garbage collected.\n\n### ExpiryTime\n\n public Timestamp ExpiryTime { get; set; }\n\nOutput only. The time at which after the backup is eligible to be garbage\ncollected. It is the duration specified by the backup's retention policy,\nadded to the backup's create_time.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nLabels as key value pairs\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The name of the backup resource with the format:\n\n- projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see \u003chttps://google.aip.dev/122\u003e. The prefix of the backup resource name is the name of the parent resource:\n- projects/{project}/locations/{region}\n\n### Reconciling\n\n public bool Reconciling { get; set; }\n\nOutput only. Reconciling (\u003chttps://google.aip.dev/128#reconciliation\u003e), if\ntrue, indicates that the service is actively updating the resource. This\ncan happen due to user-triggered updates or system actions like failover or\nmaintenance.\n\n### SatisfiesPzs\n\n public bool SatisfiesPzs { get; set; }\n\nOutput only. Reserved for future use.\n\n### SizeBytes\n\n public long SizeBytes { get; set; }\n\nOutput only. The size of the backup in bytes.\n\n### State\n\n public Backup.Types.State State { get; set; }\n\nOutput only. The current state of the backup.\n\n### Tags\n\n public MapField\u003cstring, string\u003e Tags { get; }\n\nOptional. Input only. Immutable. Tag keys/values directly bound to this\nresource. For example: \n\n \"123/environment\": \"production\",\n \"123/costCenter\": \"marketing\"\n\n### Type\n\n public Backup.Types.Type Type { get; set; }\n\nThe backup type, which suggests the trigger for the backup.\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. The system-generated UID of the resource. The UID is assigned\nwhen the resource is created, and it is retained until it is deleted.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Update time stamp\n\nUsers should not infer any meaning from this field. Its value is generally\nunrelated to the timing of the backup creation operation."]]