public sealed class RestoreVerificationCleanupRule : IMessage<RestoreVerificationCleanupRule>, IEquatable<RestoreVerificationCleanupRule>, IDeepCloneable<RestoreVerificationCleanupRule>, IBufferMessage, IMessageReference documentation and code samples for the Backup and DR Service v1 API class RestoreVerificationCleanupRule.
Defines the specific cleanup action.
Implements
IMessageRestoreVerificationCleanupRule, IEquatableRestoreVerificationCleanupRule, IDeepCloneableRestoreVerificationCleanupRule, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
RestoreVerificationCleanupRule()
public RestoreVerificationCleanupRule()RestoreVerificationCleanupRule(RestoreVerificationCleanupRule)
public RestoreVerificationCleanupRule(RestoreVerificationCleanupRule other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreVerificationCleanupRule |
Properties
CleanupDelay
public Duration CleanupDelay { get; set; }Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
HasSkipCleanup
public bool HasSkipCleanup { get; }Gets whether the "skip_cleanup" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
SkipCleanup
public bool SkipCleanup { get; set; }Optional. If set to true, the restored resource will not be cleaned up.
| Property Value | |
|---|---|
| Type | Description |
bool |
|