GoogleApi.CloudAsset.V1.Model.Inventory (google_api_cloud_asset v0.31.2) View Source

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.CloudAsset.V1.Model.Item.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.CloudAsset.V1.Model.OsInfo.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudAsset.V1.Model.Inventory{
  items:
    %{optional(String.t()) => GoogleApi.CloudAsset.V1.Model.Item.t()} | nil,
  name: String.t() | nil,
  osInfo: GoogleApi.CloudAsset.V1.Model.OsInfo.t() | nil,
  updateTime: DateTime.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.