Data Loss Prevention V2 Client - Class RequestedOptions (1.13.2)

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

Snapshot of the inspection configuration.

Generated from protobuf message google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions

Namespace

Google \ Cloud \ Dlp \ V2 \ InspectDataSourceDetails

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ snapshot_inspect_template Google\Cloud\Dlp\V2\InspectTemplate

If run with an InspectTemplate, a snapshot of its state at the time of this run.

↳ job_config Google\Cloud\Dlp\V2\InspectJobConfig

Inspect config.

getSnapshotInspectTemplate

If run with an InspectTemplate, a snapshot of its state at the time of this run.

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

hasSnapshotInspectTemplate

clearSnapshotInspectTemplate

setSnapshotInspectTemplate

If run with an InspectTemplate, a snapshot of its state at the time of this run.

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

getJobConfig

Inspect config.

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

hasJobConfig

clearJobConfig

setJobConfig

Inspect config.

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