# Grafeas V1 Client - Class WindowsUpdate (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 WindowsUpdate.

Windows Update represents the metadata about the update for the Windows
operating system. The fields in this message come from the Windows Update API
documented at
<https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate>.

Generated from protobuf message `grafeas.v1.WindowsUpdate`

## Namespace

Grafeas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ identity` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.WindowsUpdate.Identity` Required - The unique identifier for the update. |
| `↳ title` | `string` The localized title of the update. |
| `↳ description` | `string` The localized description of the update. |
| `↳ categories` | `array<https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.WindowsUpdate.Category>` The list of categories to which the update belongs. |
| `↳ kb_article_ids` | `string[]` The Microsoft Knowledge Base article IDs that are associated with the update. |
| `↳ support_url` | `string` The hyperlink to the support information for the update. |
| `↳ last_published_timestamp` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The last published timestamp of the update. |

### getIdentity

Required - The unique identifier for the update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.WindowsUpdate.Identity|null` |   |

### hasIdentity

### clearIdentity

### setIdentity

Required - The unique identifier for the update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.WindowsUpdate.Identity` |

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

### getTitle

The localized title of the update.

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

### setTitle

The localized title of the update.

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

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

### getDescription

The localized description of the update.

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

### setDescription

The localized description of the update.

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

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

### getCategories

The list of categories to which the update belongs.

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

### setCategories

The list of categories to which the update belongs.

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

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

### getKbArticleIds

The Microsoft Knowledge Base article IDs that are associated with the
update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setKbArticleIds

The Microsoft Knowledge Base article IDs that are associated with the
update.

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

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

### getSupportUrl

The hyperlink to the support information for the update.

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

### setSupportUrl

The hyperlink to the support information for the update.

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

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

### getLastPublishedTimestamp

The last published timestamp of the update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasLastPublishedTimestamp

### clearLastPublishedTimestamp

### setLastPublishedTimestamp

The last published timestamp of the update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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