Google Cloud OsConfig V1 Client - Class WindowsUpdatePackage (2.0.2)

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
Name Description
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<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
Type Description
string

setTitle

The localized title of the update package.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

The localized description of the update package.

Returns
Type Description
string

setDescription

The localized description of the update package.

Parameter
Name Description
var string
Returns
Type Description
$this

getCategories

The categories that are associated with this update package.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCategories

The categories that are associated with this update package.

Parameter
Name Description
var array<WindowsUpdatePackage\WindowsUpdateCategory>
Returns
Type Description
$this

getKbArticleIds

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setKbArticleIds

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

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

getSupportUrl

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

Returns
Type Description
string

setSupportUrl

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

Parameter
Name Description
var string
Returns
Type Description
$this

getMoreInfoUrls

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMoreInfoUrls

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

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

getUpdateId

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

Returns
Type Description
string

setUpdateId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getRevisionNumber

The revision number of this update package.

Returns
Type Description
int

setRevisionNumber

The revision number of this update package.

Parameter
Name Description
var int
Returns
Type Description
$this

getLastDeploymentChangeTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastDeploymentChangeTime

clearLastDeploymentChangeTime

setLastDeploymentChangeTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this