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"]],[["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-04-17 UTC."],[[["This document describes the `GcePlatformDetails` class, which provides details about a Google Compute Engine (GCE) instance, including project ID, instance ID, and zone name."],["The `GcePlatformDetails` class can be constructed with metadata JSON, project ID, instance ID, and zone name, all of which are required and cannot be null."],["The `InstanceId`, `Location`, `MetadataJson`, `ProjectId`, and `ZoneName` properties provide read-only access to specific GCE instance details."],["The `TryLoad` method allows for the creation of a `GcePlatformDetails` object from JSON metadata retrieved from the GCE metadata server, returning null if it doesn't represent a GCE instance."],["The listed version numbers show the different available versions of `GcePlatformDetails`, with version 4.10.0 being the latest, while this documentation refers to version 4.0.0."]]],[]]