# Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::ZypperSettings (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::ZypperSettings.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #categories

    def categories() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Install only patches with these categories. Common categories include security, recommended, and feature.

### #categories=

    def categories=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Install only patches with these categories. Common categories include security, recommended, and feature.
**Returns**

- (::Array\<::String\>) --- Install only patches with these categories. Common categories include security, recommended, and feature.

### #excludes

    def excludes() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- List of patches to exclude from update.

### #excludes=

    def excludes=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- List of patches to exclude from update.
**Returns**

- (::Array\<::String\>) --- List of patches to exclude from update.

### #exclusive_patches

    def exclusive_patches() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:

### #exclusive_patches=

    def exclusive_patches=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:
**Returns**

- (::Array\<::String\>) --- An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:

### #severities

    def severities() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Install only patches with these severities. Common severities include critical, important, moderate, and low.

### #severities=

    def severities=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Install only patches with these severities. Common severities include critical, important, moderate, and low.
**Returns**

- (::Array\<::String\>) --- Install only patches with these severities. Common severities include critical, important, moderate, and low.

### #with_optional

    def with_optional() -> ::Boolean

**Returns**

- (::Boolean) --- Adds the `--with-optional` flag to `zypper patch`.

### #with_optional=

    def with_optional=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Adds the `--with-optional` flag to `zypper patch`.
**Returns**

- (::Boolean) --- Adds the `--with-optional` flag to `zypper patch`.

### #with_update

    def with_update() -> ::Boolean

**Returns**

- (::Boolean) --- Adds the `--with-update` flag, to `zypper patch`.

### #with_update=

    def with_update=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Adds the `--with-update` flag, to `zypper patch`.
**Returns**

- (::Boolean) --- Adds the `--with-update` flag, to `zypper patch`.