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 SdpContentLocation.

Precise location of the finding within a document, record, image, or
metadata container.

Generated from protobuf message `google.cloud.modelarmor.v1.SdpContentLocation`

## Namespace

Google \\ Cloud \\ ModelArmor \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ image_finding_location` | `https://docs.cloud.google.com/php/docs/reference/cloud-modelarmor/latest/V1.SdpImageFindingLocation` Location within an image's pixels. |
| `↳ container_name` | `string` Name of the container where the finding is located. The top level name is the source file name or table name. Nested names could be absent if the embedded object has no string identifier (for example, an image contained within a document). |

### getImageFindingLocation

Location within an image's pixels.

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

### hasImageFindingLocation

### setImageFindingLocation

Location within an image's pixels.

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

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

### getContainerName

Name of the container where the finding is located.

The top level name is the source file name or table name.
Nested names could be absent if the embedded object has no string
identifier (for example, an image contained within a document).

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

### setContainerName

Name of the container where the finding is located.

The top level name is the source file name or table name.
Nested names could be absent if the embedded object has no string
identifier (for example, an image contained within a document).

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

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

### getLocation

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