Google Cloud OsConfig V1 Client - Class SoftwarePackage (1.0.5)

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

Software package information of the operating system.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ yum_package Google\Cloud\OsConfig\V1\Inventory\VersionedPackage

Yum package info. For details about the yum package manager, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.

↳ apt_package Google\Cloud\OsConfig\V1\Inventory\VersionedPackage

Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt.

↳ zypper_package Google\Cloud\OsConfig\V1\Inventory\VersionedPackage

Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

↳ googet_package Google\Cloud\OsConfig\V1\Inventory\VersionedPackage

Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet.

↳ zypper_patch Google\Cloud\OsConfig\V1\Inventory\ZypperPatch

Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

↳ wua_package Google\Cloud\OsConfig\V1\Inventory\WindowsUpdatePackage

Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update.

↳ qfe_package Google\Cloud\OsConfig\V1\Inventory\WindowsQuickFixEngineeringPackage

Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering.

↳ cos_package Google\Cloud\OsConfig\V1\Inventory\VersionedPackage

Details of a COS package.

↳ windows_application Google\Cloud\OsConfig\V1\Inventory\WindowsApplication

Details of Windows Application.

getYumPackage

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\VersionedPackage|null

hasYumPackage

setYumPackage

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
TypeDescription
$this

getAptPackage

Details of an APT package.

For details about the apt package manager, see https://wiki.debian.org/Apt.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\VersionedPackage|null

hasAptPackage

setAptPackage

Details of an APT package.

For details about the apt package manager, see https://wiki.debian.org/Apt.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
TypeDescription
$this

getZypperPackage

Details of a Zypper package.

For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\VersionedPackage|null

hasZypperPackage

setZypperPackage

Details of a Zypper package.

For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
TypeDescription
$this

getGoogetPackage

Details of a Googet package.

For details about the googet package manager, see https://github.com/google/googet.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\VersionedPackage|null

hasGoogetPackage

setGoogetPackage

Details of a Googet package.

For details about the googet package manager, see https://github.com/google/googet.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
TypeDescription
$this

getZypperPatch

Details of a Zypper patch.

For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\ZypperPatch|null

hasZypperPatch

setZypperPatch

Details of a Zypper patch.

For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\ZypperPatch
Returns
TypeDescription
$this

getWuaPackage

Details of a Windows Update package.

See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\WindowsUpdatePackage|null

hasWuaPackage

setWuaPackage

Details of a Windows Update package.

See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\WindowsUpdatePackage
Returns
TypeDescription
$this

getQfePackage

Details of a Windows Quick Fix engineering package.

See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\WindowsQuickFixEngineeringPackage|null

hasQfePackage

setQfePackage

Details of a Windows Quick Fix engineering package.

See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\WindowsQuickFixEngineeringPackage
Returns
TypeDescription
$this

getCosPackage

Details of a COS package.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\VersionedPackage|null

hasCosPackage

setCosPackage

Details of a COS package.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
TypeDescription
$this

getWindowsApplication

Details of Windows Application.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\Inventory\WindowsApplication|null

hasWindowsApplication

setWindowsApplication

Details of Windows Application.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\Inventory\WindowsApplication
Returns
TypeDescription
$this

getDetails

Returns
TypeDescription
string