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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ image_finding_location |
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 |
SdpImageFindingLocation|null |
|
hasImageFindingLocation
setImageFindingLocation
Location within an image's pixels.
| Parameter | |
|---|---|
| Name | Description |
var |
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 |
|