public sealed class GetInventoryRequest : IMessage<GetInventoryRequest>, IEquatable<GetInventoryRequest>, IDeepCloneable<GetInventoryRequest>, IBufferMessage, IMessage
A request message for getting inventory data for the specified VM.
For {project}, either project-number or project-id can be provided.
For {instance}, either Compute Engine instance-id or instance-name
can be provided.
Property Value
Type
Description
System.String
View
public InventoryView View { get; set; }
Inventory view indicating what information should be included in the
inventory resource. If unspecified, the default view is BASIC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This webpage details the `GetInventoryRequest` class within the Google Cloud OS Config V1 API, specifically version 1.5.0, which is a request message designed to retrieve inventory data for a designated virtual machine."],["The latest version of the API is 2.4.0, and the webpage lists various versions from 1.3.0 to 2.4.0, providing links to each version's documentation."],["`GetInventoryRequest` implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, with properties such as `InventoryName`, `Name`, and `View` for specifying the inventory resource and view details."],["The GetInventoryRequest class offers two constructors: a default parameterless one and another one that accepts an existing GetInventoryRequest object as an argument."],["The required \"Name\" property should follow this format:`projects/{project}/locations/{location}/instances/{instance}/inventory`, supporting either `project-number` or `project-id` for `{project}`, and either `instance-id` or `instance-name` for `{instance}`."]]],[]]