Data Loss Prevention V2 Client - Class InspectContentResponse (1.12.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ result Google\Cloud\Dlp\V2\InspectResult

The findings.

getResult

The findings.

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

hasResult

clearResult

setResult

The findings.

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