# Google Cloud OsConfig V1 Client - Class ZypperPatch (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 ZypperPatch.

Details related to a Zypper Patch.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ patch_name` | `string` The name of the patch. |
| `↳ category` | `string` The category of the patch. |
| `↳ severity` | `string` The severity specified for this patch |
| `↳ summary` | `string` Any summary information provided about this patch. |

### getPatchName

The name of the patch.

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

### setPatchName

The name of the patch.

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

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

### getCategory

The category of the patch.

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

### setCategory

The category of the patch.

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

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

### getSeverity

The severity specified for this patch

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

### setSeverity

The severity specified for this patch

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

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

### getSummary

Any summary information provided about this patch.

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

### setSummary

Any summary information provided about this patch.

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

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