Grafeas V1 Client - Class WindowsUpdate (0.10.3)

Reference documentation and code samples for the Grafeas V1 Client class WindowsUpdate.

Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.

Generated from protobuf message grafeas.v1.WindowsUpdate

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ identity Grafeas\V1\WindowsUpdate\Identity

Required - The unique identifier for the update.

↳ title string

The localized title of the update.

↳ description string

The localized description of the update.

↳ categories array<Grafeas\V1\WindowsUpdate\Category>

The list of categories to which the update belongs.

↳ kb_article_ids array

The Microsoft Knowledge Base article IDs that are associated with the update.

↳ support_url string

The hyperlink to the support information for the update.

↳ last_published_timestamp Google\Protobuf\Timestamp

The last published timestamp of the update.

getIdentity

Required - The unique identifier for the update.

Returns
Type Description
Grafeas\V1\WindowsUpdate\Identity|null

hasIdentity

clearIdentity

setIdentity

Required - The unique identifier for the update.

Parameter
Name Description
var Grafeas\V1\WindowsUpdate\Identity
Returns
Type Description
$this

getTitle

The localized title of the update.

Returns
Type Description
string

setTitle

The localized title of the update.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

The localized description of the update.

Returns
Type Description
string

setDescription

The localized description of the update.

Parameter
Name Description
var string
Returns
Type Description
$this

getCategories

The list of categories to which the update belongs.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCategories

The list of categories to which the update belongs.

Parameter
Name Description
var array<Grafeas\V1\WindowsUpdate\Category>
Returns
Type Description
$this

getKbArticleIds

The Microsoft Knowledge Base article IDs that are associated with the update.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setKbArticleIds

The Microsoft Knowledge Base article IDs that are associated with the update.

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

getSupportUrl

The hyperlink to the support information for the update.

Returns
Type Description
string

setSupportUrl

The hyperlink to the support information for the update.

Parameter
Name Description
var string
Returns
Type Description
$this

getLastPublishedTimestamp

The last published timestamp of the update.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastPublishedTimestamp

clearLastPublishedTimestamp

setLastPublishedTimestamp

The last published timestamp of the update.

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