Grafeas V1 Client - Class KnowledgeBase (0.5.0)

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

Generated from protobuf message grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).

↳ url string

A link to the KB in the Windows update catalog.

getName

The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).

Returns
TypeDescription
string

setName

The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUrl

A link to the KB in the Windows update catalog.

Returns
TypeDescription
string

setUrl

A link to the KB in the Windows update catalog.

Parameter
NameDescription
var string
Returns
TypeDescription
$this