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.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetInventoryRequest\u003c/code\u003e class is designed to fetch inventory data for a specified virtual machine (VM), and is the class representing the request message for this purpose.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class exposes properties such as \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eInventoryName\u003c/code\u003e, and \u003ccode\u003eView\u003c/code\u003e, allowing users to specify the API resource name, access a typed view of the resource name, and set the inventory view.\u003c/p\u003e\n"],["\u003cp\u003eAvailable versions of this same class include versions ranging from 1.3.0 to 2.4.0, indicating an evolution and potential changes across these releases, with version 2.4.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]