Google Cloud Backup Dr V1 Client - Class VerificationPhaseInfo (0.17.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class VerificationPhaseInfo.

Info for Verification phase execution.

Generated from protobuf message google.cloud.backupdr.v1.VerificationPhaseInfo

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

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

↳ verification_config VerificationConfig

Output only. Snapshot of config that will be executed after successful post restore validation.

↳ cloud_run_execution string

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

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

getVerificationConfig

Output only. Snapshot of config that will be executed after successful post restore validation.

Returns
Type Description
VerificationConfig|null

hasVerificationConfig

clearVerificationConfig

setVerificationConfig

Output only. Snapshot of config that will be executed after successful post restore validation.

Parameter
Name Description
var VerificationConfig
Returns
Type Description
$this

getCloudRunExecution

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

Returns
Type Description
string

hasCloudRunExecution

setCloudRunExecution

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

Parameter
Name Description
var string
Returns
Type Description
$this

getResult

Returns
Type Description
string