Information about the current execution platform.
Supported execution platforms are Google App Engine (GAE), Google Container Engine (GKE), and Google Compute Engine (GCE).
[[["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-09-04 UTC."],[[["\u003cp\u003eThis document describes the \u003ccode\u003ePlatform\u003c/code\u003e class in version 4.2.0 of the Google.Api.Gax library, which provides information about the current execution platform, such as Google App Engine (GAE), Google Container Engine (GKE), and Google Compute Engine (GCE).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlatform\u003c/code\u003e class offers multiple constructors to capture details about specific platforms like Google Cloud Run, Google App Engine, Google Compute Engine, and Google Container Engine, with an additional constructor for scenarios with no specified platform details.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePlatform\u003c/code\u003e class include \u003ccode\u003eCloudRunDetails\u003c/code\u003e, \u003ccode\u003eGaeDetails\u003c/code\u003e, \u003ccode\u003eGceDetails\u003c/code\u003e, \u003ccode\u003eGkeDetails\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, allowing developers to retrieve detailed platform-specific information and the current Project ID.\u003c/p\u003e\n"],["\u003cp\u003eStatic methods \u003ccode\u003eInstance()\u003c/code\u003e and \u003ccode\u003eInstanceAsync()\u003c/code\u003e are available to obtain synchronous and asynchronous access to execution platform information, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe platform class has multiple inherited members, such as Equals, GetHashCode, GetType, and more, all of which inherit from the object class.\u003c/p\u003e\n"]]],[],null,[]]