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

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
Name Description
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
Type Description
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
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getIntervalDurationDays

Required. The duration of time between executions in days.

Returns
Type Description
int

setIntervalDurationDays

Required. The duration of time between executions in days.

Parameter
Name Description
var int
Returns
Type Description
$this