part of this value.
If not, Location will throw InvalidOperationException.
If this value has been retrived from Google Compute Engine, the it's format will be the one
described above.
Properties
InstanceId
public string InstanceId { get; }
The Instance ID of the GCE instance on which this is running. This is never null.
[[["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\u003eThis document describes the \u003ccode\u003eGcePlatformDetails\u003c/code\u003e class, which provides details about a Google Compute Engine (GCE) instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcePlatformDetails\u003c/code\u003e class is constructed with JSON metadata, a project ID, an instance ID, and a zone name, all of which are required and cannot be null.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eInstanceId\u003c/code\u003e, \u003ccode\u003eLocation\u003c/code\u003e, \u003ccode\u003eMetadataJson\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eZoneName\u003c/code\u003e, all representing string data about the GCE instance.\u003c/p\u003e\n"],["\u003cp\u003eA static method \u003ccode\u003eTryLoad\u003c/code\u003e is available to build a \u003ccode\u003eGcePlatformDetails\u003c/code\u003e object from JSON metadata retrieved from a GCE metadata server, returning \u003ccode\u003enull\u003c/code\u003e if the data does not represent a valid GCE instance.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers version 4.8.0 of the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e library, with links to other versions including the latest 4.10.0, in addition to several older versions.\u003c/p\u003e\n"]]],[],null,[]]