Google Cloud OsConfig V1 Client - Class SoftwarePackage (1.3.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

Namespace

Google \ Cloud \ OsConfig \ V1 \ Inventory

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\OsConfig\V1\Inventory\VersionedPackage|null

hasYumPackage

setYumPackage

Parameter
Name Description
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
Type Description
$this

getAptPackage

Details of an APT package.

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

Returns
Type Description
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
Name Description
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
Type Description
$this

getZypperPackage

Details of a Zypper package.

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

Returns
Type Description
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
Name Description
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
Type Description
$this

getGoogetPackage

Details of a Googet package.

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

Returns
Type Description
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
Name Description
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
Type Description
$this

getZypperPatch

Details of a Zypper patch.

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

Returns
Type Description
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
Name Description
var Google\Cloud\OsConfig\V1\Inventory\ZypperPatch
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\OsConfig\V1\Inventory\WindowsUpdatePackage
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\OsConfig\V1\Inventory\WindowsQuickFixEngineeringPackage
Returns
Type Description
$this

getCosPackage

Details of a COS package.

Returns
Type Description
Google\Cloud\OsConfig\V1\Inventory\VersionedPackage|null

hasCosPackage

setCosPackage

Details of a COS package.

Parameter
Name Description
var Google\Cloud\OsConfig\V1\Inventory\VersionedPackage
Returns
Type Description
$this

getWindowsApplication

Details of Windows Application.

Returns
Type Description
Google\Cloud\OsConfig\V1\Inventory\WindowsApplication|null

hasWindowsApplication

setWindowsApplication

Details of Windows Application.

Parameter
Name Description
var Google\Cloud\OsConfig\V1\Inventory\WindowsApplication
Returns
Type Description
$this

getDetails

Returns
Type Description
string