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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThis endpoint retrieves inventory data for a specified VM instance, returning \u003ccode\u003eNOT_FOUND\u003c/code\u003e if no inventory is associated.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses a \u003ccode\u003eGET\u003c/code\u003e method with a URL formatted using gRPC Transcoding, including required path parameters such as \u003ccode\u003eproject\u003c/code\u003e, \u003ccode\u003elocation\u003c/code\u003e, and \u003ccode\u003einstance\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eview\u003c/code\u003e query parameter allows for specifying the level of detail in the returned inventory information, with \u003ccode\u003eBASIC\u003c/code\u003e as the default.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response will return an \u003ccode\u003eInventory\u003c/code\u003e resource instance.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this endpoint requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003eosconfig.inventories.get\u003c/code\u003e on the specified resource.\u003c/p\u003e\n"]]],[],null,[]]