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 |
google.cloud.osconfig_v1.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_ |
google.cloud.osconfig_v1.types.Inventory.Item.Type
The specific type of inventory, correlating to its specific details. |
installed_package |
google.cloud.osconfig_v1.types.Inventory.SoftwarePackage
Software package present on the VM instance. This field is a member of oneof _ details .
|
available_package |
google.cloud.osconfig_v1.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.
Values: ORIGIN_TYPE_UNSPECIFIED (0): Invalid. An origin type must be specified. INVENTORY_REPORT (1): This inventory item was discovered as the result of the agent reporting inventory via the reporting API.
Type
Type(value)
The different types of inventory that are tracked on a VM.
Values: TYPE_UNSPECIFIED (0): Invalid. An type must be specified. INSTALLED_PACKAGE (1): This represents a package that is installed on the VM. AVAILABLE_PACKAGE (2): This represents an update that is available for a package.