Google Cloud OsConfig V1 Client - Class WindowsUpdateSettings (2.0.0-RC1)

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setClassifications

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

Parameter
Name Description
var int[]
Returns
Type Description
$this

getExcludes

List of KBs to exclude from update.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExcludes

List of KBs to exclude from update.

Parameter
Name Description
var string[]
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this