Data Loss Prevention V2 Client - Class RequestedOptions (1.10.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Dlp\V2\InspectTemplate
Returns
TypeDescription
$this

getJobConfig

Inspect config.

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

hasJobConfig

clearJobConfig

setJobConfig

Inspect config.

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