Google Cloud OS Config v1alpha API - Class Inventory (2.0.0-alpha05)

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

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

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

Inventory()

public Inventory()

Inventory(Inventory)

public Inventory(Inventory other)
Parameter
Name Description
other Inventory

Properties

InventoryName

public InventoryName InventoryName { get; set; }

InventoryName-typed view over the Name resource name property.

Property Value
Type Description
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
Type Description
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
Type Description
string

OsInfo

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

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

Property Value
Type Description
InventoryTypesOsInfo

UpdateTime

public Timestamp UpdateTime { get; set; }

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

Property Value
Type Description
Timestamp