Google Cloud OsConfig V1 Client - Class WindowsUpdateSettings (1.0.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class WindowsUpdateSettings.

Windows patching is performed using the Windows Update Agent.

Generated from protobuf message google.cloud.osconfig.v1.WindowsUpdateSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ classifications array

Only apply updates of these windows update classifications. If empty, all updates are applied.

↳ excludes array

List of KBs to exclude from update.

↳ exclusive_patches array

An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.

getClassifications

Only apply updates of these windows update classifications. If empty, all updates are applied.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setClassifications

Only apply updates of these windows update classifications. If empty, all updates are applied.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getExcludes

List of KBs to exclude from update.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExcludes

List of KBs to exclude from update.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getExclusivePatches

An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setExclusivePatches

An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this