google-cloud-env

This library provides information on the application hosting environment forapps running on Google Cloud Platform. This includes information on the Googlecompute product being used, the current project and credentials, and otherinformation surfaced via environment variables, the file system, and theMetadata Server.

Supported Ruby Versions

This library is supported on Ruby 3.0+.

In general, Google provides official support for CRuby versions that areactively supported by the Ruby Core team -- that is, Ruby versions that areeither in normal maintenance or in security maintenance -- and for about oneyear after end of life. Older versions of Rubymay still work, but areunsupported and not recommended. Seehttps://www.ruby-lang.org/en/downloads/branches/ for more details about theRuby-Core support schedule. Seehttps://cloud.google.com/ruby/getting-started/supported-ruby-versions for moredetails about Google's Ruby support schedule.

Contributing

Contributions to this library are always welcome and highly encouraged.

See theContributingGuidefor more information on how to get started.

Please note that this project is released with a Contributor Code of Conduct. Byparticipating in this project you agree to abide by its terms. SeeCode ofConductfor more information.

License

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

Support

Pleasereport bugs at the project onGithub. Don'thesitate toaskquestionsabout the client or APIs onStackOverflow.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.