Google Cloud OS Config v1 API - Class Inventory (2.2.0)

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

Reference documentation and code samples for the Google Cloud OS Config v1 API class 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.

Inheritance

object > Inventory

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

Inventory()

public Inventory()

Inventory(Inventory)

public Inventory(Inventory other)
Parameter
NameDescription
otherInventory

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; }

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
MapFieldstringInventoryTypesItem

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; }

Base level operating system information for the VM.

Property Value
TypeDescription
InventoryTypesOsInfo

UpdateTime

public Timestamp UpdateTime { get; set; }

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

Property Value
TypeDescription
Timestamp