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\u003eThe latest version of the \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class in the Google Cloud OS Config v1 API is version 2.4.0, with older versions ranging from 2.3.0 down to 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetInventoryRequest\u003c/code\u003e is a request message used to retrieve inventory data for a specified virtual machine, and it implements several interfaces including \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\u003eThe \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class has properties such as \u003ccode\u003eInventoryName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eView\u003c/code\u003e, used for retrieving the inventory data, and it also provides constructors for creating instances of this class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property within the \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class is required and corresponds to the API resource name of the inventory resource, following a specific format that includes project, location, and instance identifiers.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes a \u003ccode\u003eView\u003c/code\u003e property, which determines the level of detail to be included in the inventory resource, with the default being set to \u003ccode\u003eBASIC\u003c/code\u003e if not specified.\u003c/p\u003e\n"]]],[],null,[]]