Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::OsConfig::V1::Inventory::Item.
A single piece of inventory on a VM.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#available_package
def available_package() -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package available to be installed on the VM instance.
#available_package=
def available_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Parameter
- value (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package available to be installed on the VM instance.
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package available to be installed on the VM instance.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — When this inventory item was first detected.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — When this inventory item was first detected.
Returns
- (::Google::Protobuf::Timestamp) — When this inventory item was first detected.
#id
def id() -> ::String
Returns
- (::String) — Identifier for this item, unique across items for this VM.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — Identifier for this item, unique across items for this VM.
Returns
- (::String) — Identifier for this item, unique across items for this VM.
#installed_package
def installed_package() -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package present on the VM instance.
#installed_package=
def installed_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Parameter
- value (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package present on the VM instance.
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package present on the VM instance.
#origin_type
def origin_type() -> ::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType) — The origin of this inventory item.
#origin_type=
def origin_type=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType
Parameter
- value (::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType) — The origin of this inventory item.
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType) — The origin of this inventory item.
#type
def type() -> ::Google::Cloud::OsConfig::V1::Inventory::Item::Type
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::Item::Type) — The specific type of inventory, correlating to its specific details.
#type=
def type=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::Item::Type
Parameter
- value (::Google::Cloud::OsConfig::V1::Inventory::Item::Type) — The specific type of inventory, correlating to its specific details.
Returns
- (::Google::Cloud::OsConfig::V1::Inventory::Item::Type) — The specific type of inventory, correlating to its specific details.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — When this inventory item was last modified.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — When this inventory item was last modified.
Returns
- (::Google::Protobuf::Timestamp) — When this inventory item was last modified.