Data Loss Prevention V2 Client - Class ImageLocation (1.15.1)

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<Google\Cloud\Dlp\V2\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<Google\Cloud\Dlp\V2\BoundingBox>
Returns
Type Description
$this