class Google::Apis::WebsecurityscannerV1alpha::Schedule

Scan schedule configuration.

Attributes

interval_duration_days[RW]

Required. The duration of time between executions in days. Corresponds to the JSON property `intervalDurationDays` @return [Fixnum]

schedule_time[RW]

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. Corresponds to the JSON property `scheduleTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/websecurityscanner_v1alpha/classes.rb, line 651
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/websecurityscanner_v1alpha/classes.rb, line 656
def update!(**args)
  @interval_duration_days = args[:interval_duration_days] if args.key?(:interval_duration_days)
  @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
end