Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class AlloyDbPitrWindow.
Point in time recovery window for an AlloyDB cluster.
Generated from protobuf message google.cloud.backupdr.v1beta.AlloyDbPitrWindow
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_time |
Google\Protobuf\Timestamp
Output only. The start time of the PITR window. |
↳ end_time |
Google\Protobuf\Timestamp
Output only. The end time of the PITR window. It is not set if the corresponding Backup Plan Association is active. |
↳ log_retention_days |
int|string
Output only. Log retention days for the PITR window. |
getStartTime
Output only. The start time of the PITR window.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
Output only. The start time of the PITR window.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndTime
Output only. The end time of the PITR window. It is not set if the corresponding Backup Plan Association is active.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasEndTime
clearEndTime
setEndTime
Output only. The end time of the PITR window. It is not set if the corresponding Backup Plan Association is active.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLogRetentionDays
Output only. Log retention days for the PITR window.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setLogRetentionDays
Output only. Log retention days for the PITR window.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|