0.10.0 (latest) 0.9.0 0.8.4 0.7.0 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Model Armor V1 Client class MaliciousUriMatchedItem.

Information regarding malicious URI and its location within the input
content.

Generated from protobuf message `google.cloud.modelarmor.v1.MaliciousUriFilterResult.MaliciousUriMatchedItem`

## Namespace

Google \\ Cloud \\ ModelArmor \\ V1 \\ MaliciousUriFilterResult

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Malicious URI. |
| `↳ locations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.RangeInfo>` List of locations where Malicious URI is identified. The `locations` field is supported only for plaintext content i.e. ByteItemType.PLAINTEXT_UTF8 |

### getUri

Malicious URI.

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

### setUri

Malicious URI.

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

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

### getLocations

List of locations where Malicious URI is identified.

The `locations` field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.RangeInfo>` |   |

### setLocations

List of locations where Malicious URI is identified.

The `locations` field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8

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

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