class Google::Apis::ContaineranalysisV1alpha1::ScanConfig

Indicates various scans and whether they are turned on or off.

Attributes

create_time[RW]

Output only. The time this scan config was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

Output only. A human-readable description of what the `ScanConfig` does. Corresponds to the JSON property `description` @return [String]

enabled[RW]

Indicates whether the Scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

Indicates whether the Scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

name[RW]

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]

update_time[RW]

Output only. The time this scan config was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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