class Google::Apis::OsconfigV1beta::ZypperSettings
Zypper patching is performed by running `zypper patch`. See also en. opensuse.org/SDB:Zypper_manual.
Attributes
Install only patches with these categories. Common categories include security, recommended, and feature. Corresponds to the JSON property `categories` @return [Array<String>]
List of patches to exclude from update. Corresponds to the JSON property `excludes` @return [Array<String>]
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>]
Install only patches with these severities. Common severities include critical, important, moderate, and low. Corresponds to the JSON property `severities` @return [Array<String>]
Adds the `–with-optional` flag to `zypper patch`. Corresponds to the JSON property `withOptional` @return [Boolean]
Adds the `–with-optional` flag to `zypper patch`. Corresponds to the JSON property `withOptional` @return [Boolean]
Adds the `–with-update` flag, to `zypper patch`. Corresponds to the JSON property `withUpdate` @return [Boolean]
Adds the `–with-update` flag, to `zypper patch`. Corresponds to the JSON property `withUpdate` @return [Boolean]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 2382 def initialize(**args) update!(**args) end
Public Instance Methods
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