Class: Google::Cloud::OsConfig::V1::AptSettings
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::AptSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1/patch_jobs.rb
Overview
Apt patching is completed by executing apt-get update && apt-get
upgrade. Additional options can be set to control how this is executed.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#excludes ⇒ ::Array<::String>
List of packages to exclude from update.
-
#exclusive_packages ⇒ ::Array<::String>
An exclusive list of packages to be updated.
-
#type ⇒ ::Google::Cloud::OsConfig::V1::AptSettings::Type
By changing the type to DIST, the patching is performed using
apt-get dist-upgradeinstead.
Instance Attribute Details
#excludes ⇒ ::Array<::String>
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 446 class AptSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Apt patch type. module Type # By default, upgrade will be performed. TYPE_UNSPECIFIED = 0 # Runs `apt-get dist-upgrade`. DIST = 1 # Runs `apt-get upgrade`. UPGRADE = 2 end end |
#exclusive_packages ⇒ ::Array<::String>
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 446 class AptSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Apt patch type. module Type # By default, upgrade will be performed. TYPE_UNSPECIFIED = 0 # Runs `apt-get dist-upgrade`. DIST = 1 # Runs `apt-get upgrade`. UPGRADE = 2 end end |
#type ⇒ ::Google::Cloud::OsConfig::V1::AptSettings::Type
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 446 class AptSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Apt patch type. module Type # By default, upgrade will be performed. TYPE_UNSPECIFIED = 0 # Runs `apt-get dist-upgrade`. DIST = 1 # Runs `apt-get upgrade`. UPGRADE = 2 end end |