Google Cloud Backup Dr V1beta Client - Class PreRestorePhaseInfo (0.17.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class PreRestorePhaseInfo.

Info for Pre-Restore phase execution.

Generated from protobuf message google.cloud.backupdr.v1beta.PreRestorePhaseInfo

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cloud_run_execution string

Output only. The fully qualified URI of the Cloud Run Execution triggered for pre-restore actions.

↳ 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.

↳ pre_restore_config PreRestoreConfig

Output only. Snapshot of config that will be executed before restore operation.

getCloudRunExecution

Output only. The fully qualified URI of the Cloud Run Execution triggered for pre-restore actions.

Returns
Type Description
string

hasCloudRunExecution

setCloudRunExecution

Output only. The fully qualified URI of the Cloud Run Execution triggered for pre-restore actions.

Parameter
Name Description
var string
Returns
Type Description
$this

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

getPreRestoreConfig

Output only. Snapshot of config that will be executed before restore operation.

Returns
Type Description
PreRestoreConfig|null

hasPreRestoreConfig

clearPreRestoreConfig

setPreRestoreConfig

Output only. Snapshot of config that will be executed before restore operation.

Parameter
Name Description
var PreRestoreConfig
Returns
Type Description
$this

getResult

Returns
Type Description
string