View Source GoogleApi.OSConfig.V1.Model.Inventory (google_api_os_config v0.21.1)

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.

Attributes

  • items (type: %{optional(String.t) => GoogleApi.OSConfig.V1.Model.InventoryItem.t}, default: nil) - 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.
  • name (type: String.t, default: nil) - Output only. The Inventory API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/inventory
  • osInfo (type: GoogleApi.OSConfig.V1.Model.InventoryOsInfo.t, default: nil) - Base level operating system information for the VM.
  • updateTime (type: DateTime.t, default: nil) - Output only. Timestamp of the last reported inventory for the VM.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OSConfig.V1.Model.Inventory{
  items:
    %{optional(String.t()) => GoogleApi.OSConfig.V1.Model.InventoryItem.t()}
    | nil,
  name: String.t() | nil,
  osInfo: GoogleApi.OSConfig.V1.Model.InventoryOsInfo.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.