# Grafeas V1 Client - Class WindowsDetail (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.2 1.2.2 1.1.3 1.0.0 0.10.3 0.9.0 0.8.3 0.7.1 0.6.0 0.5.0 0.4.4 Reference documentation and code samples for the Grafeas V1 Client class WindowsDetail.

Generated from protobuf message `grafeas.v1.VulnerabilityNote.WindowsDetail`

## Namespace

Grafeas \\ V1 \\ VulnerabilityNote

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cpe_uri` | `string` Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. |
| `↳ name` | `string` Required. The name of this vulnerability. |
| `↳ description` | `string` The description of this vulnerability. |
| `↳ fixing_kbs` | `array<https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.VulnerabilityNote.WindowsDetail.KnowledgeBase>` Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed KBs presence is considered a fix. |

### getCpeUri

Required. The [CPE URI](https://cpe.mitre.org/specification/) this
vulnerability affects.

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

### setCpeUri

Required. The [CPE URI](https://cpe.mitre.org/specification/) this
vulnerability affects.

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

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

### getName

Required. The name of this vulnerability.

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

### setName

Required. The name of this vulnerability.

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

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

### getDescription

The description of this vulnerability.

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

### setDescription

The description of this vulnerability.

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

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

### getFixingKbs

Required. The names of the KBs which have hotfixes to mitigate this
vulnerability. Note that there may be multiple hotfixes (and thus
multiple KBs) that mitigate a given vulnerability. Currently any listed
KBs presence is considered a fix.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.VulnerabilityNote.WindowsDetail.KnowledgeBase>` |   |

### setFixingKbs

Required. The names of the KBs which have hotfixes to mitigate this
vulnerability. Note that there may be multiple hotfixes (and thus
multiple KBs) that mitigate a given vulnerability. Currently any listed
KBs presence is considered a fix.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.VulnerabilityNote.WindowsDetail.KnowledgeBase>` |

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