Google Cloud OsConfig V1 Client - Class VersionedPackage (2.0.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class VersionedPackage.

Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.

Generated from protobuf message google.cloud.osconfig.v1.Inventory.VersionedPackage

Namespace

Google \ Cloud \ OsConfig \ V1 \ Inventory

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ package_name
string

The name of the package.

↳ architecture
string

The system architecture this package is intended for.

↳ version
string

The version of the package.

getPackageName

The name of the package.

Returns
Type
Description
string

setPackageName

The name of the package.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getArchitecture

The system architecture this package is intended for.

Returns
Type
Description
string

setArchitecture

The system architecture this package is intended for.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getVersion

The version of the package.

Returns
Type
Description
string

setVersion

The version of the package.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: