Class Inventory

public sealed class Inventory : IMessage<Inventory>, IEquatable<Inventory>, IDeepCloneable<Inventory>, IBufferMessage, IMessage

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.

Inheritance

Object > Inventory

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

Inventory()

public Inventory()

Inventory(Inventory)

public Inventory(Inventory other)
Parameter
TypeNameDescription
Inventoryother

Properties

InventoryName

public InventoryName InventoryName { get; set; }

InventoryName-typed view over the Name resource name property.

Property Value
TypeDescription
InventoryName

Items

public MapField<string, Inventory.Types.Item> Items { get; }

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.

Property Value
TypeDescription
MapField<String, Inventory.Types.Item>

Name

public string Name { get; set; }

Output only. The Inventory API resource name.

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

Property Value
TypeDescription
String

OsInfo

public Inventory.Types.OsInfo OsInfo { get; set; }

Output only. Base level operating system information for the VM.

Property Value
TypeDescription
Inventory.Types.OsInfo

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp of the last reported inventory for the VM.

Property Value
TypeDescription
Timestamp