Grafeas V1 Client - Class Location (0.7.1)

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

An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in /var/lib/dpkg/status.

Generated from protobuf message grafeas.v1.Location

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ cpe_uri string

Deprecated. The CPE URI in CPE format

↳ version Grafeas\V1\Version

Deprecated. The version installed at this location.

↳ path string

The path from which we gathered that this package/version is installed.

getCpeUri

Deprecated.

The CPE URI in CPE format

Returns
TypeDescription
string

setCpeUri

Deprecated.

The CPE URI in CPE format

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

Deprecated.

The version installed at this location.

Returns
TypeDescription
Grafeas\V1\Version|null

hasVersion

clearVersion

setVersion

Deprecated.

The version installed at this location.

Parameter
NameDescription
var Grafeas\V1\Version
Returns
TypeDescription
$this

getPath

The path from which we gathered that this package/version is installed.

Returns
TypeDescription
string

setPath

The path from which we gathered that this package/version is installed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this