Class AptSettings (1.12.1)

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.

Inheritance

builtins.object > proto.message.Message > AptSettings

Classes

Type

Type(value)

Apt patch type.