Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class BackupApplianceLockInfo.
BackupApplianceLockInfo contains metadata about the backupappliance that created the lock.
Generated from protobuf message google.cloud.backupdr.v1beta.BackupApplianceLockInfo
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ 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. |
↳ 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. |
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 |
|
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 |
|
getLockSource
| Returns | |
|---|---|
| Type | Description |
string |
|