2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0-beta02

    public sealed class BackupApplianceLockInfo : IMessage<BackupApplianceLockInfo>, IEquatable<BackupApplianceLockInfo>, IDeepCloneable<BackupApplianceLockInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1 API class BackupApplianceLockInfo.

BackupApplianceLockInfo contains metadata about the backupappliance that
created the lock.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BackupApplianceLockInfo

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[BackupApplianceLockInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BackupApplianceLockInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[BackupApplianceLockInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupApplianceLockInfo.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BackupDR.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.md.txt)

## Assembly

Google.Cloud.BackupDR.V1.dll

## Constructors

### BackupApplianceLockInfo()

    public BackupApplianceLockInfo()

### BackupApplianceLockInfo(BackupApplianceLockInfo)

    public BackupApplianceLockInfo(BackupApplianceLockInfo other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `BackupApplianceLockInfo` |

## Properties

### BackupApplianceId

    public long BackupApplianceId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### BackupApplianceName

    public string BackupApplianceName { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### BackupImage

    public string BackupImage { get; set; }

The image name that depends on this Backup.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### HasBackupImage

    public bool HasBackupImage { get; }

Gets whether the "backup_image" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasJobName

    public bool HasJobName { get; }

Gets whether the "job_name" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasSlaId

    public bool HasSlaId { get; }

Gets whether the "sla_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### JobName

    public string JobName { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### LockReason

    public string LockReason { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### LockSourceCase

    public BackupApplianceLockInfo.LockSourceOneofCase LockSourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `BackupApplianceLockInfoLockSourceOneofCase` |   |

### SlaId

    public long SlaId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |