A long-lived project that still receives updates
google-cloud-env provides information on the Google Cloud Platform hosting environment. Applications can use this library to determine hosting context information such as the project ID, whether App Engine is running, what tags are set on the VM instance, and much more.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.0, < 3.a
 Project Readme

google-cloud-env

This library provides information on the application hosting environment for apps running on Google Cloud Platform. This includes information on the Google compute product being used, the current project and credentials, and other information surfaced via environment variables, the file system, and the Metadata Server.

Supported Ruby Versions

This library is supported on Ruby 3.0+.

In general, Google provides official support for CRuby versions that are actively supported by the Ruby Core team -- that is, Ruby versions that are either in normal maintenance or in security maintenance -- and for about one year after end of life. Older versions of Ruby may still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for more details about the Ruby-Core support schedule. See https://cloud.google.com/ruby/getting-started/supported-ruby-versions for more details about Google's Ruby support schedule.

Contributing

Contributions to this library are always welcome and highly encouraged.

See the Contributing Guide for more information on how to get started.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Code of Conduct for more information.

License

This library is licensed under Apache 2.0. Full license text is available in LICENSE.

Support

Please report bugs at the project on Github. Don't hesitate to ask questions about the client or APIs on StackOverflow.