Data Loss Prevention V2 Client - Class ImageLocation (1.10.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBoundingBoxes

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

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\BoundingBox>
Returns
TypeDescription
$this