2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0-beta02

    public sealed class RestoreVerificationCleanupRule : IMessage<RestoreVerificationCleanupRule>, IEquatable<RestoreVerificationCleanupRule>, IDeepCloneable<RestoreVerificationCleanupRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1 API class RestoreVerificationCleanupRule.

Defines the specific cleanup action.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RestoreVerificationCleanupRule

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RestoreVerificationCleanupRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.RestoreVerificationCleanupRule.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RestoreVerificationCleanupRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.RestoreVerificationCleanupRule.md.txt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RestoreVerificationCleanupRule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.RestoreVerificationCleanupRule.md.txt), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BackupDR.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.md.txt)

## Assembly

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` |   |