Google Cloud Backup Dr V1 Client - Class RuleConfigInfo (0.4.2)

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

Message for rules config info.

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

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rule_id string

Output only. Output Only. Backup Rule id fetched from backup plan.

↳ last_backup_state int

Output only. The last backup state for rule.

↳ last_backup_error Google\Rpc\Status

Output only. Output Only. google.rpc.Status object to store the last backup error.

↳ last_successful_backup_consistency_time Google\Protobuf\Timestamp

Output only. The point in time when the last successful backup was captured from the source.

getRuleId

Output only. Output Only.

Backup Rule id fetched from backup plan.

Returns
Type Description
string

setRuleId

Output only. Output Only.

Backup Rule id fetched from backup plan.

Parameter
Name Description
var string
Returns
Type Description
$this

getLastBackupState

Output only. The last backup state for rule.

Returns
Type Description
int

setLastBackupState

Output only. The last backup state for rule.

Parameter
Name Description
var int
Returns
Type Description
$this

getLastBackupError

Output only. Output Only.

google.rpc.Status object to store the last backup error.

Returns
Type Description
Google\Rpc\Status|null

hasLastBackupError

clearLastBackupError

setLastBackupError

Output only. Output Only.

google.rpc.Status object to store the last backup error.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getLastSuccessfulBackupConsistencyTime

Output only. The point in time when the last successful backup was captured from the source.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastSuccessfulBackupConsistencyTime

clearLastSuccessfulBackupConsistencyTime

setLastSuccessfulBackupConsistencyTime

Output only. The point in time when the last successful backup was captured from the source.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this