# Google Cloud Container Analysis V1 Client - Class GetVulnerabilityOccurrencesSummaryRequest (1.2.2)

1.2.2 (latest) 1.2.1 1.1.1 1.0.4 0.5.7 0.4.0 0.3.4 0.2.15 Reference documentation and code samples for the Google Cloud Container Analysis V1 Client class GetVulnerabilityOccurrencesSummaryRequest.

Request to get a vulnerability summary for some set of occurrences.

Generated from protobuf message `google.devtools.containeranalysis.v1.GetVulnerabilityOccurrencesSummaryRequest`

## Namespace

Google \\ Cloud \\ ContainerAnalysis \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. |
| `↳ filter` | `string` The filter expression. |

### getParent

Required. The name of the project to get a vulnerability summary for in the
form of `projects/[PROJECT_ID]`.

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

### setParent

Required. The name of the project to get a vulnerability summary for in the
form of `projects/[PROJECT_ID]`.

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

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

### getFilter

The filter expression.

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

### setFilter

The filter expression.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. Please see ContainerAnalysisClient::projectName() for help formatting this field. |
| `filter` | `string` The filter expression. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-container-analysis/latest/V1.GetVulnerabilityOccurrencesSummaryRequest` |   |