Data Loss Prevention V2 Client - Class Trigger (1.10.2)

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

What event needs to occur for a new job to be started.

Generated from protobuf message google.privacy.dlp.v2.JobTrigger.Trigger

Namespace

Google \ Cloud \ Dlp \ V2 \ JobTrigger

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ schedule
Google\Cloud\Dlp\V2\Schedule

Create a job on a repeating basis based on the elapse of time.

↳ manual
Google\Cloud\Dlp\V2\Manual

For use with hybrid jobs. Jobs must be manually created and finished.

getSchedule

Create a job on a repeating basis based on the elapse of time.

Returns
Type
Description

hasSchedule

setSchedule

Create a job on a repeating basis based on the elapse of time.

Parameter
Name
Description
Returns
Type
Description
$this

getManual

For use with hybrid jobs. Jobs must be manually created and finished.

Returns
Type
Description

hasManual

setManual

For use with hybrid jobs. Jobs must be manually created and finished.

Parameter
Name
Description
Returns
Type
Description
$this

getTrigger

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: