Grafeas V1 Client - Class Location (1.1.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

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cpe_uri string

Deprecated. The CPE URI in CPE format

↳ version 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
Type Description
string

setCpeUri

Deprecated.

The CPE URI in CPE format

Parameter
Name Description
var string
Returns
Type Description
$this

getVersion

Deprecated.

The version installed at this location.

Returns
Type Description
Version|null

hasVersion

clearVersion

setVersion

Deprecated.

The version installed at this location.

Parameter
Name Description
var Version
Returns
Type Description
$this

getPath

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

Returns
Type Description
string

setPath

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

Parameter
Name Description
var string
Returns
Type Description
$this