Data Loss Prevention V2 Client - Class HybridContentItem (1.11.0)

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
NameDescription
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
TypeDescription
Google\Cloud\Dlp\V2\ContentItem|null

hasItem

clearItem

setItem

The item to inspect.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\ContentItem
Returns
TypeDescription
$this

getFindingDetails

Supplementary information that will be added to each finding.

Returns
TypeDescription
Google\Cloud\Dlp\V2\HybridFindingDetails|null

hasFindingDetails

clearFindingDetails

setFindingDetails

Supplementary information that will be added to each finding.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\HybridFindingDetails
Returns
TypeDescription
$this