Inventory(mapping=None, *, ignore_unknown_fields=False, **kwargs)
This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time.
You can use this API resource to determine the inventory data of your VM.
For more information, see Information provided by OS inventory
management <https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected>
__.
Attributes
Name | Description |
name |
str
Output only. The ``Inventory`` API resource name. Format: ``projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`` |
os_info |
google.cloud.osconfig_v1alpha.types.Inventory.OsInfo
Output only. Base level operating system information for the VM. |
items |
Sequence[google.cloud.osconfig_v1alpha.types.Inventory.ItemsEntry]
Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp of the last reported inventory for the VM. |
Inheritance
builtins.object > proto.message.Message > InventoryClasses
Item
Item(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A single piece of inventory on a VM.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ItemsEntry
ItemsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict, `.Message`]
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
OsInfo
OsInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Operating system information for the VM.
SoftwarePackage
SoftwarePackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Software package information of the operating system.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
VersionedPackage
VersionedPackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.
WindowsApplication
WindowsApplication(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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
WindowsQuickFixEngineeringPackage
WindowsQuickFixEngineeringPackage(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
Information related to a Quick Fix Engineering package. Fields are taken from Windows QuickFixEngineering Interface and match the source names: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
WindowsUpdatePackage
WindowsUpdatePackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Details related to a Windows Update package. Field data and names are taken from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive fields like title, and description are localized based on the locale of the VM being updated.
ZypperPatch
ZypperPatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Details related to a Zypper Patch.