Reference documentation and code samples for the Cloud OS Config 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
-
(::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package available to be installed on the VM instance.
Note: The following fields are mutually exclusive:
available_package
,installed_package
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#available_package=
def available_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
-
value (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package available to be installed on the VM instance.
Note: The following fields are mutually exclusive:
available_package
,installed_package
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package available to be installed on the VM instance.
Note: The following fields are mutually exclusive:
available_package
,installed_package
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — When this inventory item was first detected.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — When this inventory item was first detected.
- (::Google::Protobuf::Timestamp) — When this inventory item was first detected.
#id
def id() -> ::String
- (::String) — Identifier for this item, unique across items for this VM.
#id=
def id=(value) -> ::String
- value (::String) — Identifier for this item, unique across items for this VM.
- (::String) — Identifier for this item, unique across items for this VM.
#installed_package
def installed_package() -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
-
(::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package present on the VM instance.
Note: The following fields are mutually exclusive:
installed_package
,available_package
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#installed_package=
def installed_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
-
value (::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package present on the VM instance.
Note: The following fields are mutually exclusive:
installed_package
,available_package
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage) — Software package present on the VM instance.
Note: The following fields are mutually exclusive:
installed_package
,available_package
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#origin_type
def origin_type() -> ::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType
- (::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
- value (::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType) — The origin of this inventory item.
- (::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType) — The origin of this inventory item.
#type
def type() -> ::Google::Cloud::OsConfig::V1::Inventory::Item::Type
- (::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
- value (::Google::Cloud::OsConfig::V1::Inventory::Item::Type) — The specific type of inventory, correlating to its specific details.
- (::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
- (::Google::Protobuf::Timestamp) — When this inventory item was last modified.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — When this inventory item was last modified.
- (::Google::Protobuf::Timestamp) — When this inventory item was last modified.