Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class PitrSettings.
Point in time recovery settings of the backup configuration resource.
Generated from protobuf message google.cloud.backupdr.v1.PitrSettings
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ retention_days |
int
Output only. Number of days to retain the backup. |
getRetentionDays
Output only. Number of days to retain the backup.
| Returns | |
|---|---|
| Type | Description |
int |
|
setRetentionDays
Output only. Number of days to retain the backup.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|