Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class RestoreVerificationCleanupRule.
Defines the specific cleanup action.
Generated from protobuf message google.cloud.backupdr.v1.RestoreVerificationCleanupRule
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cleanup_delay |
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 |
bool
Optional. If set to true, the restored resource will not be cleaned up. |
getCleanupDelay
Optional. Duration after restore finishes when cleanup triggers.
Delay must be non-negative and at most 30 days (2592000 seconds).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasCleanupDelay
clearCleanupDelay
setCleanupDelay
Optional. Duration after restore finishes when cleanup triggers.
Delay must be non-negative and at most 30 days (2592000 seconds).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSkipCleanup
Optional. If set to true, the restored resource will not be cleaned up.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasSkipCleanup
clearSkipCleanup
setSkipCleanup
Optional. If set to true, the restored resource will not be cleaned up.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|