Class: Google::Cloud::OsConfig::V1::PatchConfig
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::PatchConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1/patch_jobs.rb
Overview
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
Defined Under Namespace
Modules: RebootConfig
Instance Attribute Summary collapse
-
#apt ⇒ ::Google::Cloud::OsConfig::V1::AptSettings
Apt update settings.
-
#goo ⇒ ::Google::Cloud::OsConfig::V1::GooSettings
Goo update settings.
-
#mig_instances_allowed ⇒ ::Boolean
Allows the patch job to run on Managed instance groups (MIGs).
-
#post_step ⇒ ::Google::Cloud::OsConfig::V1::ExecStep
The
ExecStep
to run after the patch update. -
#pre_step ⇒ ::Google::Cloud::OsConfig::V1::ExecStep
The
ExecStep
to run before the patch update. -
#reboot_config ⇒ ::Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig
Post-patch reboot settings.
-
#windows_update ⇒ ::Google::Cloud::OsConfig::V1::WindowsUpdateSettings
Windows update settings.
-
#yum ⇒ ::Google::Cloud::OsConfig::V1::YumSettings
Yum update settings.
-
#zypper ⇒ ::Google::Cloud::OsConfig::V1::ZypperSettings
Zypper update settings.
Instance Attribute Details
#apt ⇒ ::Google::Cloud::OsConfig::V1::AptSettings
Returns Apt update settings. Use this setting to override the default apt
patch
rules.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#goo ⇒ ::Google::Cloud::OsConfig::V1::GooSettings
Returns Goo update settings. Use this setting to override the default goo
patch
rules.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#mig_instances_allowed ⇒ ::Boolean
Returns Allows the patch job to run on Managed instance groups (MIGs).
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#post_step ⇒ ::Google::Cloud::OsConfig::V1::ExecStep
Returns The ExecStep
to run after the patch update.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#pre_step ⇒ ::Google::Cloud::OsConfig::V1::ExecStep
Returns The ExecStep
to run before the patch update.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#reboot_config ⇒ ::Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig
Returns Post-patch reboot settings.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#windows_update ⇒ ::Google::Cloud::OsConfig::V1::WindowsUpdateSettings
Returns Windows update settings. Use this override the default windows patch rules.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#yum ⇒ ::Google::Cloud::OsConfig::V1::YumSettings
Returns Yum update settings. Use this setting to override the default yum
patch
rules.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |
#zypper ⇒ ::Google::Cloud::OsConfig::V1::ZypperSettings
Returns Zypper update settings. Use this setting to override the default zypper
patch rules.
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 |
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 343 class PatchConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Post-patch reboot settings. module RebootConfig # The default behavior is DEFAULT. REBOOT_CONFIG_UNSPECIFIED = 0 # The agent decides if a reboot is necessary by checking signals such as # registry keys on Windows or `/var/run/reboot-required` on APT based # systems. On RPM based systems, a set of core system package install times # are compared with system boot time. DEFAULT = 1 # Always reboot the machine after the update completes. ALWAYS = 2 # Never reboot the machine after the update completes. NEVER = 3 end end |