Reference documentation and code samples for the Grafeas V1 Client class Distribution.
This represents a particular channel of distribution for a given package.
E.g., Debian's jessie-backports dpkg mirror.
Generated from protobuf message grafeas.v1.Distribution
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cpe_uri
↳ architecture
int
The CPU architecture for which packages in this distribution channel were built.
↳ latest_version
↳ maintainer
string
A freeform string denoting the maintainer of this package.
↳ url
string
The distribution channel-specific homepage for this package.
↳ description
string
The distribution channel-specific description of this package.
getCpeUri
The cpe_uri in CPE format denoting the package manager version distributing a package.
string
setCpeUri
The cpe_uri in CPE format denoting the package manager version distributing a package.
var
string
$this
getArchitecture
The CPU architecture for which packages in this distribution channel were built.
int
setArchitecture
The CPU architecture for which packages in this distribution channel were built.
var
int
$this
getLatestVersion
The latest available version of this package in this distribution channel.
hasLatestVersion
clearLatestVersion
setLatestVersion
The latest available version of this package in this distribution channel.
$this
getMaintainer
A freeform string denoting the maintainer of this package.
string
setMaintainer
A freeform string denoting the maintainer of this package.
var
string
$this
getUrl
The distribution channel-specific homepage for this package.
string
setUrl
The distribution channel-specific homepage for this package.
var
string
$this
getDescription
The distribution channel-specific description of this package.
string
setDescription
The distribution channel-specific description of this package.
var
string
$this