Data Loss Prevention V2 Client - Class HybridContentItem (2.2.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 ContentItem

The item to inspect.

↳ finding_details HybridFindingDetails

Supplementary information that will be added to each finding.

getItem

The item to inspect.

Returns
Type Description
ContentItem|null

hasItem

clearItem

setItem

The item to inspect.

Parameter
Name Description
var ContentItem
Returns
Type Description
$this

getFindingDetails

Supplementary information that will be added to each finding.

Returns
Type Description
HybridFindingDetails|null

hasFindingDetails

clearFindingDetails

setFindingDetails

Supplementary information that will be added to each finding.

Parameter
Name Description
var HybridFindingDetails
Returns
Type Description
$this