Reference documentation and code samples for the Google Cloud OsConfig V1 Client class Item.
A single piece of inventory on a VM.
Generated from protobuf message google.cloud.osconfig.v1.Inventory.Item
Namespace
Google \ Cloud \ OsConfig \ V1 \ InventoryMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
Identifier for this item, unique across items for this VM.
↳ origin_type
int
The origin of this inventory item.
↳ create_time
↳ update_time
↳ type
int
The specific type of inventory, correlating to its specific details.
↳ installed_package
↳ available_package
getId
Identifier for this item, unique across items for this VM.
string
setId
Identifier for this item, unique across items for this VM.
var
string
$this
getOriginType
The origin of this inventory item.
int
setOriginType
The origin of this inventory item.
var
int
$this
getCreateTime
When this inventory item was first detected.
hasCreateTime
clearCreateTime
setCreateTime
When this inventory item was first detected.
$this
getUpdateTime
When this inventory item was last modified.
hasUpdateTime
clearUpdateTime
setUpdateTime
When this inventory item was last modified.
$this
getType
The specific type of inventory, correlating to its specific details.
int
setType
The specific type of inventory, correlating to its specific details.
var
int
$this
getInstalledPackage
Software package present on the VM instance.
hasInstalledPackage
setInstalledPackage
Software package present on the VM instance.
$this
getAvailablePackage
Software package available to be installed on the VM instance.
hasAvailablePackage
setAvailablePackage
Software package available to be installed on the VM instance.
$this
getDetails
string