|
16 | 16 | import proto # type: ignore
|
17 | 17 |
|
18 | 18 | from google.protobuf import timestamp_pb2 # type: ignore
|
| 19 | +from google.type import date_pb2 # type: ignore |
19 | 20 |
|
20 | 21 |
|
21 | 22 | __protobuf__ = proto.module(
|
@@ -195,6 +196,8 @@ class SoftwarePackage(proto.Message):
|
195 | 196 | for info in Windows Quick Fix Engineering.
|
196 | 197 | cos_package (google.cloud.osconfig_v1alpha.types.Inventory.VersionedPackage):
|
197 | 198 | Details of a COS package.
|
| 199 | + windows_application (google.cloud.osconfig_v1alpha.types.Inventory.WindowsApplication): |
| 200 | + Details of Windows Application. |
198 | 201 | """
|
199 | 202 |
|
200 | 203 | yum_package = proto.Field(
|
@@ -242,6 +245,12 @@ class SoftwarePackage(proto.Message):
|
242 | 245 | oneof="details",
|
243 | 246 | message="Inventory.VersionedPackage",
|
244 | 247 | )
|
| 248 | + windows_application = proto.Field( |
| 249 | + proto.MESSAGE, |
| 250 | + number=9, |
| 251 | + oneof="details", |
| 252 | + message="Inventory.WindowsApplication", |
| 253 | + ) |
245 | 254 |
|
246 | 255 | class VersionedPackage(proto.Message):
|
247 | 256 | r"""Information related to the a standard versioned package.
|
@@ -374,6 +383,39 @@ class WindowsQuickFixEngineeringPackage(proto.Message):
|
374 | 383 | proto.MESSAGE, number=5, message=timestamp_pb2.Timestamp,
|
375 | 384 | )
|
376 | 385 |
|
| 386 | + class WindowsApplication(proto.Message): |
| 387 | + r"""Contains information about a Windows application as retrieved from |
| 388 | + the Windows Registry. For more information about these fields, see |
| 389 | +
|
| 390 | + `Windows Installer Properties for the Uninstall |
| 391 | + Registry <https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key>`__\ {: |
| 392 | + class="external" } |
| 393 | +
|
| 394 | + Attributes: |
| 395 | + display_name (str): |
| 396 | + The name of the application or product. |
| 397 | + display_version (str): |
| 398 | + The version of the product or application in |
| 399 | + string format. |
| 400 | + publisher (str): |
| 401 | + The name of the manufacturer for the product |
| 402 | + or application. |
| 403 | + install_date (google.type.date_pb2.Date): |
| 404 | + The last time this product received service. |
| 405 | + The value of this property is replaced each time |
| 406 | + a patch is applied or removed from the product |
| 407 | + or the command-line option is used to repair the |
| 408 | + product. |
| 409 | + help_link (str): |
| 410 | + The internet address for technical support. |
| 411 | + """ |
| 412 | + |
| 413 | + display_name = proto.Field(proto.STRING, number=1,) |
| 414 | + display_version = proto.Field(proto.STRING, number=2,) |
| 415 | + publisher = proto.Field(proto.STRING, number=3,) |
| 416 | + install_date = proto.Field(proto.MESSAGE, number=4, message=date_pb2.Date,) |
| 417 | + help_link = proto.Field(proto.STRING, number=5,) |
| 418 | + |
377 | 419 | name = proto.Field(proto.STRING, number=3,)
|
378 | 420 | os_info = proto.Field(proto.MESSAGE, number=1, message=OsInfo,)
|
379 | 421 | items = proto.MapField(proto.STRING, proto.MESSAGE, number=2, message=Item,)
|
|
0 commit comments