# Google Cloud OsConfig V1 Client - Class WindowsApplication (2.2.3)

2.2.3 (latest) 2.2.2 2.1.0 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud OsConfig V1 Client class WindowsApplication.

Contains information about a Windows application that is retrieved from the
Windows Registry. For more information about these fields, see:
<https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key>

Generated from protobuf message `google.cloud.osconfig.v1.Inventory.WindowsApplication`

## Namespace

Google \\ Cloud \\ OsConfig \\ V1 \\ Inventory

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` The name of the application or product. |
| `↳ display_version` | `string` The version of the product or application in string format. |
| `↳ publisher` | `string` The name of the manufacturer for the product or application. |
| `↳ install_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product. |
| `↳ help_link` | `string` The internet address for technical support. |

### getDisplayName

The name of the application or product.

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

### setDisplayName

The name of the application or product.

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

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

### getDisplayVersion

The version of the product or application in string format.

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

### setDisplayVersion

The version of the product or application in string format.

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

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

### getPublisher

The name of the manufacturer for the product or application.

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

### setPublisher

The name of the manufacturer for the product or application.

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

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

### getInstallDate

The last time this product received service. The value of this property
is replaced each time a patch is applied or removed from the product or
the command-line option is used to repair the product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasInstallDate

### clearInstallDate

### setInstallDate

The last time this product received service. The value of this property
is replaced each time a patch is applied or removed from the product or
the command-line option is used to repair the product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

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

### getHelpLink

The internet address for technical support.

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

### setHelpLink

The internet address for technical support.

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

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