View Source GoogleApi.OSConfig.V1.Model.AptSettings (google_api_os_config v0.20.0)

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


  • excludes (type: list(String.t), default: nil) - List of packages to exclude from update. These packages will be excluded
  • exclusivePackages (type: list(String.t), default: nil) - 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.
  • type (type: String.t, default: nil) - By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.OSConfig.V1.Model.AptSettings{
  excludes: [String.t()] | nil,
  exclusivePackages: [String.t()] | nil,
  type: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.