class Google::Apis::ContaineranalysisV1beta1::ScanConfig
A scan configuration specifies whether Cloud components in a project have a particular type of analysis being run. For example, it can configure whether vulnerability scanning is being done on Docker images or not.
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 scan configuration does. Corresponds to the JSON property `description` @return [String]
Whether the scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
Whether the scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
Output only. The name of the scan configuration in the form of `projects/[ PROJECT_ID]/scanConfigs/`. 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_v1beta1/classes.rb, line 3217 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 3222 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