Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::Inventory (v0.3.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::Inventory.

This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time.

You can use this API resource to determine the inventory data of your VM.

For more information, see Information provided by OS inventory management.


  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods


  • Google::Protobuf::MessageExts



def items() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::OsConfig::V1alpha::Inventory::Item}
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::OsConfig::V1alpha::Inventory::Item}) — Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.


def name() -> ::String
  • (::String) — Output only. The Inventory API resource name.

    Format: projects/{project_number}/locations/{location}/instances/{instance_id}/inventory


def os_info() -> ::Google::Cloud::OsConfig::V1alpha::Inventory::OsInfo


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