class Google::Apis::OsconfigV1beta::AptSettings
Apt patching is completed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed.
Attributes
List of packages to exclude from update. These packages will be excluded Corresponds to the JSON property `excludes` @return [Array<String>]
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. Corresponds to the JSON property `exclusivePackages` @return [Array<String>]
By changing the type to DIST, the patching is performed using `apt-get dist- upgrade` instead. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 95 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 100 def update!(**args) @excludes = args[:excludes] if args.key?(:excludes) @exclusive_packages = args[:exclusive_packages] if args.key?(:exclusive_packages) @type = args[:type] if args.key?(:type) end