Backup and DR Service v1 API - Class RestoreVerificationCleanupRule (2.11.0)

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

Namespace

Google.Cloud.BackupDR.V1

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