class Google::Apis::ContaineranalysisV1alpha1::ScanConfig
Indicates various scans and whether they are turned on or off.
Attributes
Output only. The time this scan config was created. Corresponds to the JSON property `createTime` @return [String]
Output only. A human-readable description of what the `ScanConfig` does. Corresponds to the JSON property `description` @return [String]
Indicates whether the Scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
Indicates whether the Scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
Output only. The name of the ScanConfig
in the form “projects/`project_id`/ scanConfigs/`scan_config_id`“. Corresponds to the JSON property `name` @return [String]
Output only. The time this scan config was last updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3317 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 3322 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @enabled = args[:enabled] if args.key?(:enabled) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end