Google Cloud OsConfig V1 Client - Class ZypperSettings (2.1.0)

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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 .

Returns
Type
Description
bool

setWithOptional

Adds the --with-optional flag to zypper patch .

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getWithUpdate

Adds the --with-update flag, to zypper patch .

Returns
Type
Description
bool

setWithUpdate

Adds the --with-update flag, to zypper patch .

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getCategories

Install only patches with these categories.

Common categories include security, recommended, and feature.

Returns
Type
Description

setCategories

Install only patches with these categories.

Common categories include security, recommended, and feature.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getSeverities

Install only patches with these severities.

Common severities include critical, important, moderate, and low.

Returns
Type
Description

setSeverities

Install only patches with these severities.

Common severities include critical, important, moderate, and low.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getExcludes

List of patches to exclude from update.

Returns
Type
Description

setExcludes

List of patches to exclude from update.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$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.

Returns
Type
Description

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.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: