items = $items; } /** * @return Item[] */ public function getItems() { return $this->items; } /** * Output only. The `Inventory` API resource name. Format: `projects/{project_ * number}/locations/{location}/instances/{instance_id}/inventory` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Base level operating system information for the VM. * * @param OsInfo $osInfo */ public function setOsInfo(OsInfo $osInfo) { $this->osInfo = $osInfo; } /** * @return OsInfo */ public function getOsInfo() { return $this->osInfo; } /** * Output only. Timestamp of the last reported inventory for the VM. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Inventory::class, 'Google_Service_CloudAsset_Inventory');