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

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

enabled[RW]

Whether the scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

Whether the scan is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

name[RW]

Output only. The name of the scan configuration in the form of `projects/[ PROJECT_ID]/scanConfigs/`. 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_v1beta1/classes.rb, line 3217
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_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