# Google Cloud Backup Dr V1 Client - Class DataSourceBackupApplianceApplication (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class DataSourceBackupApplianceApplication.

BackupApplianceApplication describes a Source Resource when it is an
application backed up by a BackupAppliance.

Generated from protobuf message `google.cloud.backupdr.v1.DataSourceBackupApplianceApplication`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ application_name` | `string` The name of the Application as known to the Backup Appliance. |
| `↳ backup_appliance` | `string` Appliance name. |
| `↳ appliance_id` | `int|string` Appliance Id of the Backup Appliance. |
| `↳ type` | `string` The type of the application. e.g. VMBackup |
| `↳ application_id` | `int|string` The appid field of the application within the Backup Appliance. |
| `↳ hostname` | `string` Hostname of the host where the application is running. |
| `↳ host_id` | `int|string` Hostid of the application host. |

### getApplicationName

The name of the Application as known to the Backup Appliance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setApplicationName

The name of the Application as known to the Backup Appliance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBackupAppliance

Appliance name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setBackupAppliance

Appliance name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getApplianceId

Appliance Id of the Backup Appliance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setApplianceId

Appliance Id of the Backup Appliance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getType

The type of the application. e.g. VMBackup

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setType

The type of the application. e.g. VMBackup

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getApplicationId

The appid field of the application within the Backup Appliance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setApplicationId

The appid field of the application within the Backup Appliance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHostname

Hostname of the host where the application is running.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setHostname

Hostname of the host where the application is running.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHostId

Hostid of the application host.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setHostId

Hostid of the application host.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |