public sealed class GetInventoryRequest : IMessage<GetInventoryRequest>, IEquatable<GetInventoryRequest>, IDeepCloneable<GetInventoryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1 API class GetInventoryRequest.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class within the Google Cloud OS Config v1 API, specifically version 2.1.0, which is part of the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class is used to request inventory data for a specified virtual machine (VM), and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows users to specify the required \u003ccode\u003eName\u003c/code\u003e property, which is the API resource name for the inventory and conforms to a specific format of \u003ccode\u003eprojects/{project}/locations/{location}/instances/{instance}/inventory\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsers can also specify the \u003ccode\u003eView\u003c/code\u003e property, indicating what information should be included in the inventory resource, with a default of \u003ccode\u003eBASIC\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API listed ranging from 1.3.0 to 2.4.0, with 2.4.0 being the latest version.\u003c/p\u003e\n"]]],[],null,[]]