Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class RestorePhaseInfo.
Info for Restore phase execution.
Generated from protobuf message google.cloud.backupdr.v1.RestorePhaseInfo
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. |
↳ restore_properties |
Google\Protobuf\Struct
Output only. Snapshot of environment config used during restore of this RestoreTemplateExecution. |
↳ restore_resource |
string
Output only. The resource created or restored by this execution. |
↳ restore_duration |
Google\Protobuf\Duration
Output only. Time taken to restore the resource. |
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 |
|
getRestoreProperties
Output only. Snapshot of environment config used during restore of this RestoreTemplateExecution.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasRestoreProperties
clearRestoreProperties
setRestoreProperties
Output only. Snapshot of environment config used during restore of this RestoreTemplateExecution.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRestoreResource
Output only. The resource created or restored by this execution.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRestoreResource
Output only. The resource created or restored by this execution.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRestoreDuration
Output only. Time taken to restore the resource.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasRestoreDuration
clearRestoreDuration
setRestoreDuration
Output only. Time taken to restore the resource.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|