Data Loss Prevention V2 Client - Class HybridContentItem (1.15.1)

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

An individual hybrid item to inspect. Will be stored temporarily during processing.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ item Google\Cloud\Dlp\V2\ContentItem

The item to inspect.

↳ finding_details Google\Cloud\Dlp\V2\HybridFindingDetails

Supplementary information that will be added to each finding.

getItem

The item to inspect.

Returns
Type Description
Google\Cloud\Dlp\V2\ContentItem|null

hasItem

clearItem

setItem

The item to inspect.

Parameter
Name Description
var Google\Cloud\Dlp\V2\ContentItem
Returns
Type Description
$this

getFindingDetails

Supplementary information that will be added to each finding.

Returns
Type Description
Google\Cloud\Dlp\V2\HybridFindingDetails|null

hasFindingDetails

clearFindingDetails

setFindingDetails

Supplementary information that will be added to each finding.

Parameter
Name Description
var Google\Cloud\Dlp\V2\HybridFindingDetails
Returns
Type Description
$this