# Class Item (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.2 1.19.0 1.18.1 1.17.5 1.16.0 1.15.3 1.14.1 1.13.0 1.12.4 1.11.2 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.1.2

    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>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `id` | `str` Identifier for this item, unique across items for this VM. |
| `origin_type` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.types.Inventory.Item.OriginType` The origin of this inventory item. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` When this inventory item was first detected. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` When this inventory item was last modified. |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.types.Inventory.Item.Type` The specific type of inventory, correlating to its specific details. |
| `installed_package` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.types.Inventory.SoftwarePackage` Software package present on the VM instance. This field is a member of `oneof`_ `details`. |
| `available_package` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.types.Inventory.SoftwarePackage` Software package available to be installed on the VM instance. This field is a member of `oneof`_ `details`. |

## Classes

### OriginType

    OriginType(value)

The origin of a specific inventory item.

### Type

    Type(value)

The different types of inventory that are tracked on a VM.