Class AptSettings (1.16.0)

AptSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.

Attributes

NameDescription
type_ google.cloud.osconfig_v1.types.AptSettings.Type
By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.
excludes MutableSequence[str]
List of packages to exclude from update. These packages will be excluded
exclusive_packages MutableSequence[str]
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.

Classes

Type

Type(value)

Apt patch type.

Values: TYPE_UNSPECIFIED (0): By default, upgrade will be performed. DIST (1): Runs apt-get dist-upgrade. UPGRADE (2): Runs apt-get upgrade.