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.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1alpha.Data
Assembly: Google.Apis.OSConfig.v1alpha.dll
Syntax
public class Inventory : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Items
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.
Declaration
[JsonProperty("items")]
public virtual IDictionary<string, InventoryItem> Items { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, InventoryItem> |
Name
Output only. The Inventory
API resource name. Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/inventory
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OsInfo
Output only. Base level operating system information for the VM.
Declaration
[JsonProperty("osInfo")]
public virtual InventoryOsInfo OsInfo { get; set; }
Property Value
Type | Description |
---|---|
InventoryOsInfo |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Timestamp of the last reported inventory for the VM.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |