[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud OsConfig V1 Client - Class Item (2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/php/docs/reference/cloud-osconfig/latest/V1.Inventory.Item)\n- [2.0.5](/php/docs/reference/cloud-osconfig/2.0.5/V1.Inventory.Item)\n- [1.3.5](/php/docs/reference/cloud-osconfig/1.3.5/V1.Inventory.Item)\n- [1.2.2](/php/docs/reference/cloud-osconfig/1.2.2/V1.Inventory.Item)\n- [1.1.1](/php/docs/reference/cloud-osconfig/1.1.1/V1.Inventory.Item)\n- [1.0.5](/php/docs/reference/cloud-osconfig/1.0.5/V1.Inventory.Item) \nReference documentation and code samples for the Google Cloud OsConfig V1 Client class Item.\n\nA single piece of inventory on a VM.\n\nGenerated from protobuf message `google.cloud.osconfig.v1.Inventory.Item`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OsConfig \\\\ V1 \\\\ Inventory\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getId\n\nIdentifier for this item, unique across items for this VM.\n\n### setId\n\nIdentifier for this item, unique across items for this VM.\n\n### getOriginType\n\nThe origin of this inventory item.\n\n### setOriginType\n\nThe origin of this inventory item.\n\n### getCreateTime\n\nWhen this inventory item was first detected.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nWhen this inventory item was first detected.\n\n### getUpdateTime\n\nWhen this inventory item was last modified.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nWhen this inventory item was last modified.\n\n### getType\n\nThe specific type of inventory, correlating to its specific details.\n\n### setType\n\nThe specific type of inventory, correlating to its specific details.\n\n### getInstalledPackage\n\nSoftware package present on the VM instance.\n\n### hasInstalledPackage\n\n### setInstalledPackage\n\nSoftware package present on the VM instance.\n\n### getAvailablePackage\n\nSoftware package available to be installed on the VM instance.\n\n### hasAvailablePackage\n\n### setAvailablePackage\n\nSoftware package available to be installed on the VM instance.\n\n### getDetails"]]