Google Cloud Backup Dr V1 Client - Class RuleConfigInfo (0.6.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. 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. 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. Backup Rule id fetched from backup plan.

Returns
Type
Description
string

setRuleId

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. google.rpc.Status object to store the last backup error.

Returns
Type
Description

hasLastBackupError

clearLastBackupError

setLastBackupError

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

Parameter
Name
Description
Returns
Type
Description
$this

getLastSuccessfulBackupConsistencyTime

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

Returns
Type
Description

hasLastSuccessfulBackupConsistencyTime

clearLastSuccessfulBackupConsistencyTime

setLastSuccessfulBackupConsistencyTime

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

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: