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 documentation for the \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class within the Google Cloud OS Config v1 API, specifically version 2.3.0, and shows other versions of this class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetInventoryRequest\u003c/code\u003e is used to retrieve inventory data for a specified virtual machine (VM), it implements several interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors and properties like \u003ccode\u003eInventoryName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eView\u003c/code\u003e to configure and specify the details of the inventory request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property allows for specifying the API resource name of the inventory using a specific format, including the project, location, and instance, while \u003ccode\u003eView\u003c/code\u003e lets you choose the depth of the information within the response.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version is 2.4.0 and version 2.3.0 is the current documented version of this \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]