Class Inventory (1.5.2)

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

NameDescription
name str
Output only. The Inventory API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/inventory
os_info google.cloud.osconfig_v1.types.Inventory.OsInfo
Base level operating system information for the VM.
items Sequence[google.cloud.osconfig_v1.types.Inventory.ItemsEntry]
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.

Classes

Item

Item(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single piece of inventory on a VM. .. attribute:: id

Identifier for this item, unique across items for this VM.

:type: str

ItemsEntry

ItemsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
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 mapping is a mapping type or there are keyword parameters.

OsInfo

OsInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Operating system information for the VM. .. attribute:: hostname

The VM hostname.

:type: str

SoftwarePackage

SoftwarePackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Software package information of the operating system. .. attribute:: yum_package

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.

:type: google.cloud.osconfig_v1.types.Inventory.VersionedPackage

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 as retrieved from the Windows Registry. For more information about these fields, see

Windows Installer Properties for the Uninstall Registry <https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key>__\ {: class="external" }

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. .. attribute:: patch_name

The name of the patch.

:type: str