# Google Cloud Web Security Scanner V1 Client - Class Form (1.2.0)

1.2.0 (latest) 1.1.2 1.0.5 0.8.5 0.7.18 Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class Form.

! Information about a vulnerability with an HTML.

Generated from protobuf message `google.cloud.websecurityscanner.v1.Form`

## Namespace

Google \\ Cloud \\ WebSecurityScanner \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ action_uri` | `string` ! The URI where to send the form when it's submitted. |
| `↳ fields` | `string[]` ! The names of form fields related to the vulnerability. |

### getActionUri

! The URI where to send the form when it's submitted.

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

### setActionUri

! The URI where to send the form when it's submitted.

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

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

### getFields

! The names of form fields related to the vulnerability.

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

### setFields

! The names of form fields related to the vulnerability.

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

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