Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ZypperSettings.
Zypper patching is performed by running zypper patch
.
See also https://en.opensuse.org/SDB:Zypper_manual .
Generated from protobuf message google.cloud.osconfig.v1.ZypperSettings
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ with_optional
bool
Adds the --with-optional
flag to zypper patch
.
↳ with_update
bool
Adds the --with-update
flag, to zypper patch
.
↳ categories
array
Install only patches with these categories. Common categories include security, recommended, and feature.
↳ severities
array
Install only patches with these severities. Common severities include critical, important, moderate, and low.
↳ excludes
array
List of patches to exclude from update.
↳ exclusive_patches
array
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
getWithOptional
Adds the --with-optional
flag to zypper patch
.
bool
setWithOptional
Adds the --with-optional
flag to zypper patch
.
var
bool
$this
getWithUpdate
Adds the --with-update
flag, to zypper patch
.
bool
setWithUpdate
Adds the --with-update
flag, to zypper patch
.
var
bool
$this
getCategories
Install only patches with these categories.
Common categories include security, recommended, and feature.
setCategories
Install only patches with these categories.
Common categories include security, recommended, and feature.
var
string[]
$this
getSeverities
Install only patches with these severities.
Common severities include critical, important, moderate, and low.
setSeverities
Install only patches with these severities.
Common severities include critical, important, moderate, and low.
var
string[]
$this
getExcludes
List of patches to exclude from update.
setExcludes
List of patches to exclude from update.
var
string[]
$this
getExclusivePatches
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command.
This field must not be used with any other patch configuration fields.
setExclusivePatches
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command.
This field must not be used with any other patch configuration fields.
var
string[]
$this