Google Cloud Backup Dr V1 Client - Class BackupConfigInfo (0.7.0)

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

BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.

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

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ last_backup_state
int

Output only. The status of the last backup to this BackupVault

↳ last_successful_backup_consistency_time
Google\Protobuf\Timestamp

Output only. If the last backup were successful, this field has the consistency date.

↳ last_backup_error
Google\Rpc\Status

Output only. If the last backup failed, this field has the error message.

↳ gcp_backup_config
GcpBackupConfig

Configuration for a Google Cloud resource.

↳ backup_appliance_backup_config
BackupApplianceBackupConfig

Configuration for an application backed up by a Backup Appliance.

getLastBackupState

Output only. The status of the last backup to this BackupVault

Returns
Type
Description
int

setLastBackupState

Output only. The status of the last backup to this BackupVault

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getLastSuccessfulBackupConsistencyTime

Output only. If the last backup were successful, this field has the consistency date.

Returns
Type
Description

hasLastSuccessfulBackupConsistencyTime

clearLastSuccessfulBackupConsistencyTime

setLastSuccessfulBackupConsistencyTime

Output only. If the last backup were successful, this field has the consistency date.

Parameter
Name
Description
Returns
Type
Description
$this

getLastBackupError

Output only. If the last backup failed, this field has the error message.

Returns
Type
Description

hasLastBackupError

clearLastBackupError

setLastBackupError

Output only. If the last backup failed, this field has the error message.

Parameter
Name
Description
Returns
Type
Description
$this

getGcpBackupConfig

Configuration for a Google Cloud resource.

Returns
Type
Description

hasGcpBackupConfig

setGcpBackupConfig

Configuration for a Google Cloud resource.

Parameter
Name
Description
Returns
Type
Description
$this

getBackupApplianceBackupConfig

Configuration for an application backed up by a Backup Appliance.

Returns
Type
Description

hasBackupApplianceBackupConfig

setBackupApplianceBackupConfig

Configuration for an application backed up by a Backup Appliance.

Parameter
Name
Description
Returns
Type
Description
$this

getBackupConfig

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: