Data Loss Prevention V2 Client - Class InspectContentResponse (2.1.0)

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

Results of inspecting an item.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ result Google\Cloud\Dlp\V2\InspectResult

The findings.

getResult

The findings.

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

hasResult

clearResult

setResult

The findings.

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