[[["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."],[],[],null,["# Google Cloud Platform environment queries - Module Google::Cloud (v2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/ruby/docs/reference/google-cloud-env/latest/Google-Cloud)\n- [2.3.0](/ruby/docs/reference/google-cloud-env/2.3.0/Google-Cloud)\n- [2.2.2](/ruby/docs/reference/google-cloud-env/2.2.2/Google-Cloud) \nReference documentation and code samples for the Google Cloud Platform environment queries module Google::Cloud.\n\nNamespace of Google Cloud products\n\nMethods\n-------\n\n### .env\n\n def self.env() -\u003e Google::Cloud::Env\n\nReturns the global instance of [Env](/ruby/docs/reference/google-cloud-env/latest/Google-Cloud-Env \"Google::Cloud::Env (class)\"). \n**Returns**\n\n- ([Google::Cloud::Env](./Google-Cloud-Env))"]]