Cloud Asset V1 API - Class Google::Cloud::OsConfig::V1::Inventory::Item (v0.26.1)

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

#available_package=

def available_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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

#installed_package=

def installed_package=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage
Parameter
Returns

#origin_type

def origin_type() -> ::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType
Returns

#origin_type=

def origin_type=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::Item::OriginType
Parameter
Returns

#type

def type() -> ::Google::Cloud::OsConfig::V1::Inventory::Item::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::OsConfig::V1::Inventory::Item::Type
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#update_time=

def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns