Reference documentation and code samples for the Google Cloud OsConfig V1 Client class PatchConfig.
Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance.
Generated from protobuf message google.cloud.osconfig.v1.PatchConfig
Namespace
Google \ Cloud \ OsConfig \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ reboot_config
int
Post-patch reboot settings.
↳ apt
↳ yum
↳ goo
↳ zypper
↳ windows_update
↳ pre_step
↳ post_step
↳ mig_instances_allowed
bool
Allows the patch job to run on Managed instance groups (MIGs).
getRebootConfig
Post-patch reboot settings.
int
setRebootConfig
Post-patch reboot settings.
var
int
$this
getApt
Apt update settings. Use this setting to override the default apt
patch
rules.
hasApt
clearApt
setApt
Apt update settings. Use this setting to override the default apt
patch
rules.
$this
getYum
Yum update settings. Use this setting to override the default yum
patch
rules.
hasYum
clearYum
setYum
Yum update settings. Use this setting to override the default yum
patch
rules.
$this
getGoo
Goo update settings. Use this setting to override the default goo
patch
rules.
hasGoo
clearGoo
setGoo
Goo update settings. Use this setting to override the default goo
patch
rules.
$this
getZypper
Zypper update settings. Use this setting to override the default zypper
patch rules.
hasZypper
clearZypper
setZypper
Zypper update settings. Use this setting to override the default zypper
patch rules.
$this
getWindowsUpdate
Windows update settings. Use this override the default windows patch rules.
hasWindowsUpdate
clearWindowsUpdate
setWindowsUpdate
Windows update settings. Use this override the default windows patch rules.
$this
getPreStep
The ExecStep
to run before the patch update.
hasPreStep
clearPreStep
setPreStep
The ExecStep
to run before the patch update.
$this
getPostStep
The ExecStep
to run after the patch update.
hasPostStep
clearPostStep
setPostStep
The ExecStep
to run after the patch update.
$this
getMigInstancesAllowed
Allows the patch job to run on Managed instance groups (MIGs).
bool
setMigInstancesAllowed
Allows the patch job to run on Managed instance groups (MIGs).
var
bool
$this