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 2.7+.

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 for more details about the Ruby-Core support schedule. See for more details about Google's Ruby support schedule.


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.


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


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