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 provides details on the \u003ccode\u003eGcePlatformDetails\u003c/code\u003e class, which is used to represent information about Google Compute Engine instances.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcePlatformDetails\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e namespace, includes properties such as \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 of which are non-null strings.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a constructor \u003ccode\u003eGcePlatformDetails\u003c/code\u003e that takes four string parameters: \u003ccode\u003emetadataJson\u003c/code\u003e, \u003ccode\u003eprojectId\u003c/code\u003e, \u003ccode\u003einstanceId\u003c/code\u003e, and \u003ccode\u003ezoneName\u003c/code\u003e to construct details of a Google Compute Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTryLoad\u003c/code\u003e method can be used to generate a populated \u003ccode\u003eGcePlatformDetails\u003c/code\u003e instance if the input metadata represents a GCE instance, otherwise returning \u003ccode\u003enull\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGcePlatformDetails\u003c/code\u003e documentation is version 4.10.0, and it covers versions back to 3.2.0.\u003c/p\u003e\n"]]],[],null,[]]