Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class PostRestorePhaseInfo.
Info for Post-Restore phase execution.
Generated from protobuf message google.cloud.backupdr.v1.PostRestorePhaseInfo
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ phase_state |
int
Output only. The state of this phase. |
↳ error |
Google\Rpc\Status
Output only. Error details if the phase failed. |
↳ start_time |
Google\Protobuf\Timestamp
Output only. Start time of the phase. |
↳ end_time |
Google\Protobuf\Timestamp
Output only. End time of the phase. |
↳ post_restore_config |
PostRestoreConfig
Output only. Snapshot of config that will be executed after successful restore operation. |
↳ cloud_run_execution |
string
Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions. |
getPhaseState
Output only. The state of this phase.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PhaseState. |
setPhaseState
Output only. The state of this phase.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PhaseState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getError
Output only. Error details if the phase failed.
| Returns | |
|---|---|
| Type | Description |
Google\Rpc\Status|null |
|
hasError
clearError
setError
Output only. Error details if the phase failed.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Rpc\Status
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStartTime
Output only. Start time of the phase.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
Output only. Start time of the phase.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndTime
Output only. End time of the phase.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasEndTime
clearEndTime
setEndTime
Output only. End time of the phase.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPostRestoreConfig
Output only. Snapshot of config that will be executed after successful restore operation.
| Returns | |
|---|---|
| Type | Description |
PostRestoreConfig|null |
|
hasPostRestoreConfig
clearPostRestoreConfig
setPostRestoreConfig
Output only. Snapshot of config that will be executed after successful restore operation.
| Parameter | |
|---|---|
| Name | Description |
var |
PostRestoreConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCloudRunExecution
Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCloudRunExecution
setCloudRunExecution
Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResult
| Returns | |
|---|---|
| Type | Description |
string |
|