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.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
Backup()
public 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.
Property Value | |
---|---|
Type | Description |
BackupApplianceBackupProperties |
BackupApplianceLocks
public RepeatedField<BackupLock> BackupApplianceLocks { get; }
Optional. The list of BackupLocks taken by the accessor Backup Appliance.
Property Value | |
---|---|
Type | Description |
RepeatedFieldBackupLock |
BackupName
public BackupName BackupName { get; set; }
BackupName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
BackupName |
BackupPropertiesCase
public Backup.BackupPropertiesOneofCase BackupPropertiesCase { get; }
Property Value | |
---|---|
Type | Description |
BackupBackupPropertiesOneofCase |
BackupType
public Backup.Types.BackupType BackupType { get; set; }
Output only. Type of the backup, unspecified, scheduled or ondemand.
Property Value | |
---|---|
Type | Description |
BackupTypesBackupType |
ComputeInstanceBackupProperties
public ComputeInstanceBackupProperties ComputeInstanceBackupProperties { get; set; }
Output only. Compute Engine specific backup properties.
Property Value | |
---|---|
Type | Description |
ComputeInstanceBackupProperties |
ConsistencyTime
public Timestamp ConsistencyTime { get; set; }
Output only. The point in time when this backup was captured from the source.
Property Value | |
---|---|
Type | Description |
Timestamp |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the instance was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Output only. The description of the Backup instance (2048 characters or less).
Property Value | |
---|---|
Type | Description |
string |
EnforcedRetentionEndTime
public Timestamp EnforcedRetentionEndTime { get; set; }
Optional. The backup can not be deleted before this time.
Property Value | |
---|---|
Type | Description |
Timestamp |
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
GcpBackupPlanInfo
public Backup.Types.GCPBackupPlanInfo GcpBackupPlanInfo { get; set; }
Output only. Configuration for a Google Cloud resource.
Property Value | |
---|---|
Type | Description |
BackupTypesGCPBackupPlanInfo |
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 |
Labels
public MapField<string, string> Labels { get; }
Optional. Resource labels to represent user provided metadata. No labels currently defined.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
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; }
Property Value | |
---|---|
Type | Description |
BackupPlanInfoOneofCase |
ResourceSizeBytes
public long ResourceSizeBytes { get; set; }
Output only. source resource size in bytes at the time of the backup.
Property Value | |
---|---|
Type | Description |
long |
ServiceLocks
public RepeatedField<BackupLock> ServiceLocks { get; }
Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.
Property Value | |
---|---|
Type | Description |
RepeatedFieldBackupLock |
State
public Backup.Types.State State { get; set; }
Output only. The Backup resource instance state.
Property Value | |
---|---|
Type | Description |
BackupTypesState |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time when the instance was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |