Data Loss Prevention V2 Client - Class ImageContainmentType (2.10.0)

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

Specifies the relationship between bounding boxes for image findings.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ encloses
Encloses

The context finding's bounding box must fully contain the target finding's bounding box.

↳ fully_inside
FullyInside

The context finding's bounding box must be fully inside the target finding's bounding box.

↳ overlaps
Overlap

The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.

getEncloses

The context finding's bounding box must fully contain the target finding's bounding box.

Returns
Type
Description
Encloses |null

hasEncloses

setEncloses

The context finding's bounding box must fully contain the target finding's bounding box.

Parameter
Name
Description
var
Returns
Type
Description
$this

getFullyInside

The context finding's bounding box must be fully inside the target finding's bounding box.

Returns
Type
Description
FullyInside |null

hasFullyInside

setFullyInside

The context finding's bounding box must be fully inside the target finding's bounding box.

Parameter
Name
Description
Returns
Type
Description
$this

getOverlaps

The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.

Returns
Type
Description
Overlap |null

hasOverlaps

setOverlaps

The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.

Parameter
Name
Description
var
Returns
Type
Description
$this

getType

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: