Google Cloud Web Security Scanner V1 Client - Class Schedule (0.7.18)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class Schedule.

Scan schedule configuration.

Generated from protobuf message google.cloud.websecurityscanner.v1.ScanConfig.Schedule

Namespace

Google \ Cloud \ WebSecurityScanner \ V1 \ ScanConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ schedule_time Google\Protobuf\Timestamp

A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.

↳ interval_duration_days int

Required. The duration of time between executions in days.

getScheduleTime

A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasScheduleTime

clearScheduleTime

setScheduleTime

A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getIntervalDurationDays

Required. The duration of time between executions in days.

Returns
TypeDescription
int

setIntervalDurationDays

Required. The duration of time between executions in days.

Parameter
NameDescription
var int
Returns
TypeDescription
$this