Google Cloud OsConfig V1 Client - Class WindowsUpdatePackage (1.1.1)

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

Details related to a Windows Update package.

Field data and names are taken from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive fields like title, and description are localized based on the locale of the VM being updated.

Generated from protobuf message google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage

Namespace

Google \ Cloud \ OsConfig \ V1 \ Inventory

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ title string

The localized title of the update package.

↳ description string

The localized description of the update package.

↳ categories array<Google\Cloud\OsConfig\V1\Inventory\WindowsUpdatePackage\WindowsUpdateCategory>

The categories that are associated with this update package.

↳ kb_article_ids array

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

↳ support_url string

A hyperlink to the language-specific support information for the update.

↳ more_info_urls array

A collection of URLs that provide more information about the update package.

↳ update_id string

Gets the identifier of an update package. Stays the same across revisions.

↳ revision_number int

The revision number of this update package.

↳ last_deployment_change_time Google\Protobuf\Timestamp

The last published date of the update, in (UTC) date and time.

getTitle

The localized title of the update package.

Returns
TypeDescription
string

setTitle

The localized title of the update package.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The localized description of the update package.

Returns
TypeDescription
string

setDescription

The localized description of the update package.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCategories

The categories that are associated with this update package.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCategories

The categories that are associated with this update package.

Parameter
NameDescription
var array<Google\Cloud\OsConfig\V1\Inventory\WindowsUpdatePackage\WindowsUpdateCategory>
Returns
TypeDescription
$this

getKbArticleIds

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setKbArticleIds

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSupportUrl

A hyperlink to the language-specific support information for the update.

Returns
TypeDescription
string

setSupportUrl

A hyperlink to the language-specific support information for the update.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMoreInfoUrls

A collection of URLs that provide more information about the update package.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMoreInfoUrls

A collection of URLs that provide more information about the update package.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getUpdateId

Gets the identifier of an update package. Stays the same across revisions.

Returns
TypeDescription
string

setUpdateId

Gets the identifier of an update package. Stays the same across revisions.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRevisionNumber

The revision number of this update package.

Returns
TypeDescription
int

setRevisionNumber

The revision number of this update package.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLastDeploymentChangeTime

The last published date of the update, in (UTC) date and time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastDeploymentChangeTime

clearLastDeploymentChangeTime

setLastDeploymentChangeTime

The last published date of the update, in (UTC) date and time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this