Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule (v1.13.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule.

Defines the specific cleanup action.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cleanup_delay

def cleanup_delay() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).

#cleanup_delay=

def cleanup_delay=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).
Returns
  • (::Google::Protobuf::Duration) — Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).

#skip_cleanup

def skip_cleanup() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, the restored resource will not be cleaned up.

#skip_cleanup=

def skip_cleanup=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true, the restored resource will not be cleaned up.
Returns
  • (::Boolean) — Optional. If set to true, the restored resource will not be cleaned up.