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 \ InventoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ yum_package |
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 |
VersionedPackage
Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt. |
↳ zypper_package |
VersionedPackage
Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual. |
↳ googet_package |
VersionedPackage
Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet. |
↳ zypper_patch |
ZypperPatch
Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual. |
↳ wua_package |
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 |
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 |
VersionedPackage
Details of a COS package. |
↳ windows_application |
WindowsApplication
Details of Windows Application. |
getYumPackage
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.
| Returns | |
|---|---|
| Type | Description |
VersionedPackage|null |
|
hasYumPackage
setYumPackage
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.
| Parameter | |
|---|---|
| Name | Description |
var |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
WindowsQuickFixEngineeringPackage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCosPackage
Details of a COS package.
| Returns | |
|---|---|
| Type | Description |
VersionedPackage|null |
|
hasCosPackage
setCosPackage
Details of a COS package.
| Parameter | |
|---|---|
| Name | Description |
var |
VersionedPackage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWindowsApplication
Details of Windows Application.
| Returns | |
|---|---|
| Type | Description |
WindowsApplication|null |
|
hasWindowsApplication
setWindowsApplication
Details of Windows Application.
| Parameter | |
|---|---|
| Name | Description |
var |
WindowsApplication
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDetails
| Returns | |
|---|---|
| Type | Description |
string |
|