generated/google/apis/websecurityscanner_v1beta/classes.rb in google-api-client-0.29.2 vs generated/google/apis/websecurityscanner_v1beta/classes.rb in google-api-client-0.30.0
- old
+ new
@@ -530,11 +530,10 @@
@version = args[:version] if args.key?(:version)
end
end
# A ScanConfig resource contains the configurations to launch a scan.
- # next id: 12
class ScanConfig
include Google::Apis::Core::Hashable
# Scan authentication configuration.
# Corresponds to the JSON property `authentication`
@@ -578,10 +577,15 @@
# generated by the system.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
+ # The risk level selected for the scan
+ # Corresponds to the JSON property `riskLevel`
+ # @return [String]
+ attr_accessor :risk_level
+
# Scan schedule configuration.
# Corresponds to the JSON property `schedule`
# @return [Google::Apis::WebsecurityscannerV1beta::Schedule]
attr_accessor :schedule
@@ -613,9 +617,10 @@
@display_name = args[:display_name] if args.key?(:display_name)
@export_to_security_command_center = args[:export_to_security_command_center] if args.key?(:export_to_security_command_center)
@latest_run = args[:latest_run] if args.key?(:latest_run)
@max_qps = args[:max_qps] if args.key?(:max_qps)
@name = args[:name] if args.key?(:name)
+ @risk_level = args[:risk_level] if args.key?(:risk_level)
@schedule = args[:schedule] if args.key?(:schedule)
@starting_urls = args[:starting_urls] if args.key?(:starting_urls)
@target_platforms = args[:target_platforms] if args.key?(:target_platforms)
@user_agent = args[:user_agent] if args.key?(:user_agent)
end