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

A single VulnerabilityAssessmentNote represents
one particular product's vulnerability assessment for one CVE.

Generated from protobuf message `grafeas.v1.VulnerabilityAssessmentNote`

## Namespace

Grafeas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ title` | `string` The title of the note. E.g. `Vex-Debian-11.4` |
| `↳ short_description` | `string` A one sentence description of this Vex. |
| `↳ long_description` | `string` A detailed description of this Vex. |
| `↳ language_code` | `string` Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646. |
| `↳ publisher` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.VulnerabilityAssessmentNote.Publisher` Publisher details of this Note. |
| `↳ product` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.VulnerabilityAssessmentNote.Product` The product affected by this vex. |
| `↳ assessment` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.VulnerabilityAssessmentNote.Assessment` Represents a vulnerability assessment for the product. |

### getTitle

The title of the note. E.g. `Vex-Debian-11.4`

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

### setTitle

The title of the note. E.g. `Vex-Debian-11.4`

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

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

### getShortDescription

A one sentence description of this Vex.

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

### setShortDescription

A one sentence description of this Vex.

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

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

### getLongDescription

A detailed description of this Vex.

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

### setLongDescription

A detailed description of this Vex.

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

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

### getLanguageCode

Identifies the language used by this document,
corresponding to IETF BCP 47 / RFC 5646.

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

### setLanguageCode

Identifies the language used by this document,
corresponding to IETF BCP 47 / RFC 5646.

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

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

### getPublisher

Publisher details of this Note.

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

### hasPublisher

### clearPublisher

### setPublisher

Publisher details of this Note.

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

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

### getProduct

The product affected by this vex.

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

### hasProduct

### clearProduct

### setProduct

The product affected by this vex.

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

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

### getAssessment

Represents a vulnerability assessment for the product.

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

### hasAssessment

### clearAssessment

### setAssessment

Represents a vulnerability assessment for the product.

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

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