Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class PostRestoreConfig.
Configuration for Post-Restore.
Generated from protobuf message google.cloud.backupdr.v1.PostRestoreConfig
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ timeout |
Google\Protobuf\Duration
Optional. The |
↳ cloud_run_job |
string
Cloud Run job action to execute. Format: |
getTimeout
Optional. The timeout for this phase.
If set, the timeout must be positive and less than or equal to 24 hours
(86400s).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasTimeout
clearTimeout
setTimeout
Optional. The timeout for this phase.
If set, the timeout must be positive and less than or equal to 24 hours
(86400s).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCloudRunJob
Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCloudRunJob
setCloudRunJob
Cloud Run job action to execute.
Format: projects/{project}/locations/{location}/jobs/{job}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPostRestoreAction
| Returns | |
|---|---|
| Type | Description |
string |
|