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
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 |
getHelpLink
The internet address for technical support.
Returns | |
---|---|
Type | Description |
string |
setHelpLink
The internet address for technical support.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |