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
AlloyDbBackupProperties
public AlloyDbClusterBackupProperties AlloyDbBackupProperties { get; set; }
Output only. AlloyDB specific 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.