Class AptSettings (1.5.2)

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 Sequence[str]
List of packages to exclude from update. These packages will be excluded
exclusive_packages Sequence[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.