Google Cloud Backup Dr V1 Client - Class BackupApplianceLockInfo (0.4.1)

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

BackupApplianceLockInfo contains metadata about the backupappliance that created the lock.

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

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup_appliance_id int|string

Required. The ID of the backup/recovery appliance that created this lock.

↳ backup_appliance_name string

Required. The name of the backup/recovery appliance that created this lock.

↳ lock_reason string

Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.

↳ job_name string

The job name on the backup/recovery appliance that created this lock.

↳ backup_image string

The image name that depends on this Backup.

↳ sla_id int|string

The SLA on the backup/recovery appliance that owns the lock.

getBackupApplianceId

Required. The ID of the backup/recovery appliance that created this lock.

Returns
Type Description
int|string

setBackupApplianceId

Required. The ID of the backup/recovery appliance that created this lock.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getBackupApplianceName

Required. The name of the backup/recovery appliance that created this lock.

Returns
Type Description
string

setBackupApplianceName

Required. The name of the backup/recovery appliance that created this lock.

Parameter
Name Description
var string
Returns
Type Description
$this

getLockReason

Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.

Returns
Type Description
string

setLockReason

Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.

Parameter
Name Description
var string
Returns
Type Description
$this

getJobName

The job name on the backup/recovery appliance that created this lock.

Returns
Type Description
string

hasJobName

setJobName

The job name on the backup/recovery appliance that created this lock.

Parameter
Name Description
var string
Returns
Type Description
$this

getBackupImage

The image name that depends on this Backup.

Returns
Type Description
string

hasBackupImage

setBackupImage

The image name that depends on this Backup.

Parameter
Name Description
var string
Returns
Type Description
$this

getSlaId

The SLA on the backup/recovery appliance that owns the lock.

Returns
Type Description
int|string

hasSlaId

setSlaId

The SLA on the backup/recovery appliance that owns the lock.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLockSource

Returns
Type Description
string