public sealed class GetInventoryRequest : IMessage<GetInventoryRequest>, IEquatable<GetInventoryRequest>, IDeepCloneable<GetInventoryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1alpha 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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class is part of the Google Cloud OS Config v1alpha API, and is used to request inventory data for a specific virtual machine.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, demonstrating its compatibility with protocol buffers and deep cloning operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetInventoryRequest\u003c/code\u003e includes properties such as \u003ccode\u003eInventoryName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eView\u003c/code\u003e which are used to specify the target inventory resource and define the scope of information retrieved.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property, which is required, allows for the use of project numbers or IDs, and instance IDs or names, in its format, to locate a specific inventory.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eView\u003c/code\u003e property determines the level of detail returned in the inventory data, with \u003ccode\u003eBASIC\u003c/code\u003e being the default view if not specified.\u003c/p\u003e\n"]]],[],null,[]]