Data Loss Prevention V2 Client - Class Schedule (1.15.1)

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

Schedule for inspect job triggers.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ recurrence_period_duration Google\Protobuf\Duration

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds). A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

getRecurrencePeriodDuration

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

Returns
Type Description
Google\Protobuf\Duration|null

hasRecurrencePeriodDuration

setRecurrencePeriodDuration

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getOption

Returns
Type Description
string