Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class PreparePhaseInfo.
Info for Prepare phase execution.
Generated from protobuf message google.cloud.backupdr.v1beta.PreparePhaseInfo
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__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. |
↳ backup_selection_config |
BackupSelectionConfig
Output only. Snapshot of config used in this execution. |
↳ backup |
string
Output only. The source backup used for the restore. The fully qualified URI of the backupdr backup. |
↳ is_backup_explicitly_passed |
bool
Output only. Indicates whether the backup was explicitly passed in the request. |
↳ restore_verification_plan_association |
string
Output only. The restore verification plan association associated with the execution. |
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 |
|
getBackupSelectionConfig
Output only. Snapshot of config used in this execution.
| Returns | |
|---|---|
| Type | Description |
BackupSelectionConfig|null |
|
hasBackupSelectionConfig
clearBackupSelectionConfig
setBackupSelectionConfig
Output only. Snapshot of config used in this execution.
| Parameter | |
|---|---|
| Name | Description |
var |
BackupSelectionConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBackup
Output only. The source backup used for the restore.
The fully qualified URI of the backupdr backup.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBackup
Output only. The source backup used for the restore.
The fully qualified URI of the backupdr backup.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIsBackupExplicitlyPassed
Output only. Indicates whether the backup was explicitly passed in the request.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setIsBackupExplicitlyPassed
Output only. Indicates whether the backup was explicitly passed in the request.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRestoreVerificationPlanAssociation
Output only. The restore verification plan association associated with the execution.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRestoreVerificationPlanAssociation
Output only. The restore verification plan association associated with the execution.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|