public MapField<string, Inventory.Types.Item> Items { get; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud OS Config v1 API class Inventory is 2.4.0, with several previous versions available, such as 2.3.0, 2.2.0, and older versions going down to 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe Inventory API resource provides data on the available inventory for a Compute Engine virtual machine (VM) instance at a specific moment in time.\u003c/p\u003e\n"],["\u003cp\u003eYou can access information regarding a virtual machine's OS through the Inventory API, such as the OS info, any present Items and the last update time.\u003c/p\u003e\n"],["\u003cp\u003eThe Inventory class implements multiple interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe name of the \u003ccode\u003eInventory\u003c/code\u003e resource follows the format \u003ccode\u003eprojects/{project_number}/locations/{location}/instances/{instance_id}/inventory\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Config v1 API - Class Inventory (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.4.0/Google.Cloud.OsConfig.V1.Inventory)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.3.0/Google.Cloud.OsConfig.V1.Inventory)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.2.0/Google.Cloud.OsConfig.V1.Inventory)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.1.0/Google.Cloud.OsConfig.V1.Inventory)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.0.0/Google.Cloud.OsConfig.V1.Inventory)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.8.0/Google.Cloud.OsConfig.V1.Inventory)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.7.0/Google.Cloud.OsConfig.V1.Inventory)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.6.0/Google.Cloud.OsConfig.V1.Inventory)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.5.0/Google.Cloud.OsConfig.V1.Inventory)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.4.0/Google.Cloud.OsConfig.V1.Inventory)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.3.0/Google.Cloud.OsConfig.V1.Inventory) \n\n public sealed class Inventory : IMessage\u003cInventory\u003e, IEquatable\u003cInventory\u003e, IDeepCloneable\u003cInventory\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud OS Config v1 API class Inventory.\n\nThis API resource represents the available inventory data for a\nCompute Engine virtual machine (VM) instance at a given point in time.\n\nYou can use this API resource to determine the inventory data of your VM.\n\nFor more information, see [Information provided by OS inventory\nmanagement](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Inventory \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Inventory](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Inventory](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Inventory](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.OsConfig.V1](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OsConfig.V1.dll\n\nConstructors\n------------\n\n### Inventory()\n\n public Inventory()\n\n### Inventory(Inventory)\n\n public Inventory(Inventory other)\n\nProperties\n----------\n\n### InventoryName\n\n public InventoryName InventoryName { get; set; }\n\n[InventoryName](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.InventoryName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory#Google_Cloud_OsConfig_V1_Inventory_Name) resource name property.\n\n### Items\n\n public MapField\u003cstring, Inventory.Types.Item\u003e Items { get; }\n\nInventory items related to the VM keyed by an opaque unique identifier for\neach inventory item. The identifier is unique to each distinct and\naddressable inventory item and will change, when there is a new package\nversion.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The `Inventory` API resource name.\n\nFormat:\n`projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`\n\n### OsInfo\n\n public Inventory.Types.OsInfo OsInfo { get; set; }\n\nBase level operating system information for the VM.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Timestamp of the last reported inventory for the VM."]]