Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::PatchConfig.
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#apt
def apt() -> ::Google::Cloud::OsConfig::V1::AptSettings
Returns
-
(::Google::Cloud::OsConfig::V1::AptSettings) — Apt update settings. Use this setting to override the default
apt
patch rules.
#apt=
def apt=(value) -> ::Google::Cloud::OsConfig::V1::AptSettings
Parameter
-
value (::Google::Cloud::OsConfig::V1::AptSettings) — Apt update settings. Use this setting to override the default
apt
patch rules.
Returns
-
(::Google::Cloud::OsConfig::V1::AptSettings) — Apt update settings. Use this setting to override the default
apt
patch rules.
#goo
def goo() -> ::Google::Cloud::OsConfig::V1::GooSettings
Returns
-
(::Google::Cloud::OsConfig::V1::GooSettings) — Goo update settings. Use this setting to override the default
goo
patch rules.
#goo=
def goo=(value) -> ::Google::Cloud::OsConfig::V1::GooSettings
Parameter
-
value (::Google::Cloud::OsConfig::V1::GooSettings) — Goo update settings. Use this setting to override the default
goo
patch rules.
Returns
-
(::Google::Cloud::OsConfig::V1::GooSettings) — Goo update settings. Use this setting to override the default
goo
patch rules.
#mig_instances_allowed
def mig_instances_allowed() -> ::Boolean
Returns
- (::Boolean) — Allows the patch job to run on Managed instance groups (MIGs).
#mig_instances_allowed=
def mig_instances_allowed=(value) -> ::Boolean
Parameter
- value (::Boolean) — Allows the patch job to run on Managed instance groups (MIGs).
Returns
- (::Boolean) — Allows the patch job to run on Managed instance groups (MIGs).
#post_step
def post_step() -> ::Google::Cloud::OsConfig::V1::ExecStep
Returns
-
(::Google::Cloud::OsConfig::V1::ExecStep) — The
ExecStep
to run after the patch update.
#post_step=
def post_step=(value) -> ::Google::Cloud::OsConfig::V1::ExecStep
Parameter
-
value (::Google::Cloud::OsConfig::V1::ExecStep) — The
ExecStep
to run after the patch update.
Returns
-
(::Google::Cloud::OsConfig::V1::ExecStep) — The
ExecStep
to run after the patch update.
#pre_step
def pre_step() -> ::Google::Cloud::OsConfig::V1::ExecStep
Returns
-
(::Google::Cloud::OsConfig::V1::ExecStep) — The
ExecStep
to run before the patch update.
#pre_step=
def pre_step=(value) -> ::Google::Cloud::OsConfig::V1::ExecStep
Parameter
-
value (::Google::Cloud::OsConfig::V1::ExecStep) — The
ExecStep
to run before the patch update.
Returns
-
(::Google::Cloud::OsConfig::V1::ExecStep) — The
ExecStep
to run before the patch update.
#reboot_config
def reboot_config() -> ::Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig
Returns
- (::Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig) — Post-patch reboot settings.
#reboot_config=
def reboot_config=(value) -> ::Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig
Parameter
- value (::Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig) — Post-patch reboot settings.
Returns
- (::Google::Cloud::OsConfig::V1::PatchConfig::RebootConfig) — Post-patch reboot settings.
#windows_update
def windows_update() -> ::Google::Cloud::OsConfig::V1::WindowsUpdateSettings
Returns
- (::Google::Cloud::OsConfig::V1::WindowsUpdateSettings) — Windows update settings. Use this override the default windows patch rules.
#windows_update=
def windows_update=(value) -> ::Google::Cloud::OsConfig::V1::WindowsUpdateSettings
Parameter
- value (::Google::Cloud::OsConfig::V1::WindowsUpdateSettings) — Windows update settings. Use this override the default windows patch rules.
Returns
- (::Google::Cloud::OsConfig::V1::WindowsUpdateSettings) — Windows update settings. Use this override the default windows patch rules.
#yum
def yum() -> ::Google::Cloud::OsConfig::V1::YumSettings
Returns
-
(::Google::Cloud::OsConfig::V1::YumSettings) — Yum update settings. Use this setting to override the default
yum
patch rules.
#yum=
def yum=(value) -> ::Google::Cloud::OsConfig::V1::YumSettings
Parameter
-
value (::Google::Cloud::OsConfig::V1::YumSettings) — Yum update settings. Use this setting to override the default
yum
patch rules.
Returns
-
(::Google::Cloud::OsConfig::V1::YumSettings) — Yum update settings. Use this setting to override the default
yum
patch rules.
#zypper
def zypper() -> ::Google::Cloud::OsConfig::V1::ZypperSettings
Returns
-
(::Google::Cloud::OsConfig::V1::ZypperSettings) — Zypper update settings. Use this setting to override the default
zypper
patch rules.
#zypper=
def zypper=(value) -> ::Google::Cloud::OsConfig::V1::ZypperSettings
Parameter
-
value (::Google::Cloud::OsConfig::V1::ZypperSettings) — Zypper update settings. Use this setting to override the default
zypper
patch rules.
Returns
-
(::Google::Cloud::OsConfig::V1::ZypperSettings) — Zypper update settings. Use this setting to override the default
zypper
patch rules.