Grafeas V1 Client - Class WindowsUpdate (0.5.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Grafeas\V1\WindowsUpdate\Identity|null

hasIdentity

clearIdentity

setIdentity

Required - The unique identifier for the update.

Parameter
NameDescription
var Grafeas\V1\WindowsUpdate\Identity
Returns
TypeDescription
$this

getTitle

The localized title of the update.

Returns
TypeDescription
string

setTitle

The localized title of the update.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The localized description of the update.

Returns
TypeDescription
string

setDescription

The localized description of the update.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCategories

The list of categories to which the update belongs.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCategories

The list of categories to which the update belongs.

Parameter
NameDescription
var array<Grafeas\V1\WindowsUpdate\Category>
Returns
TypeDescription
$this

getKbArticleIds

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setKbArticleIds

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getSupportUrl

The hyperlink to the support information for the update.

Returns
TypeDescription
string

setSupportUrl

The hyperlink to the support information for the update.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLastPublishedTimestamp

The last published timestamp of the update.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastPublishedTimestamp

clearLastPublishedTimestamp

setLastPublishedTimestamp

The last published timestamp of the update.

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