Google Cloud OsConfig V1 Client - Class WindowsApplication (2.0.2)

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

Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see: https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key

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

Namespace

Google \ Cloud \ OsConfig \ V1 \ Inventory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

The name of the application or product.

↳ display_version string

The version of the product or application in string format.

↳ publisher string

The name of the manufacturer for the product or application.

↳ install_date Google\Type\Date

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

↳ help_link string

The internet address for technical support.

getDisplayName

The name of the application or product.

Returns
Type Description
string

setDisplayName

The name of the application or product.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayVersion

The version of the product or application in string format.

Returns
Type Description
string

setDisplayVersion

The version of the product or application in string format.

Parameter
Name Description
var string
Returns
Type Description
$this

getPublisher

The name of the manufacturer for the product or application.

Returns
Type Description
string

setPublisher

The name of the manufacturer for the product or application.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstallDate

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

Returns
Type Description
Google\Type\Date|null

hasInstallDate

clearInstallDate

setInstallDate

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

The internet address for technical support.

Returns
Type Description
string

The internet address for technical support.

Parameter
Name Description
var string
Returns
Type Description
$this