Data Loss Prevention V2 Client - Class ImageLocation (2.2.2)

Reference documentation and code samples for the Data Loss Prevention V2 Client class ImageLocation.

Location of the finding within an image.

Generated from protobuf message google.privacy.dlp.v2.ImageLocation

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bounding_boxes array<BoundingBox>

Bounding boxes locating the pixels within the image containing the finding.

getBoundingBoxes

Bounding boxes locating the pixels within the image containing the finding.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBoundingBoxes

Bounding boxes locating the pixels within the image containing the finding.

Parameter
Name Description
var array<BoundingBox>
Returns
Type Description
$this