Class: Google::Cloud::OsConfig::V1::PatchConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#apt::Google::Cloud::OsConfig::V1::AptSettings

Returns Apt update settings. Use this setting to override the default apt patch rules.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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.

Returns:



340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'proto_docs/google/cloud/osconfig/v1/patch_jobs.rb', line 340

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