class Google::Apis::OsconfigV1beta::ZypperSettings

Zypper patching is performed by running `zypper patch`. See also en. opensuse.org/SDB:Zypper_manual.

Attributes

categories[RW]

Install only patches with these categories. Common categories include security, recommended, and feature. Corresponds to the JSON property `categories` @return [Array<String>]

excludes[RW]

List of patches to exclude from update. Corresponds to the JSON property `excludes` @return [Array<String>]

exclusive_patches[RW]

An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:' command. This field must not be used with any other patch configuration fields. Corresponds to the JSON property `exclusivePatches` @return [Array<String>]

severities[RW]

Install only patches with these severities. Common severities include critical, important, moderate, and low. Corresponds to the JSON property `severities` @return [Array<String>]

with_optional[RW]

Adds the `–with-optional` flag to `zypper patch`. Corresponds to the JSON property `withOptional` @return [Boolean]

with_optional?[RW]

Adds the `–with-optional` flag to `zypper patch`. Corresponds to the JSON property `withOptional` @return [Boolean]

with_update[RW]

Adds the `–with-update` flag, to `zypper patch`. Corresponds to the JSON property `withUpdate` @return [Boolean]

with_update?[RW]

Adds the `–with-update` flag, to `zypper patch`. Corresponds to the JSON property `withUpdate` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 2387
def update!(**args)
  @categories = args[:categories] if args.key?(:categories)
  @excludes = args[:excludes] if args.key?(:excludes)
  @exclusive_patches = args[:exclusive_patches] if args.key?(:exclusive_patches)
  @severities = args[:severities] if args.key?(:severities)
  @with_optional = args[:with_optional] if args.key?(:with_optional)
  @with_update = args[:with_update] if args.key?(:with_update)
end