gcloud gem and
Gcloud namespace are now deprecated.
gcloud gem exists only to facilitate the timely transition of
legacy code from the deprecated
Gcloud namespace to the new
namespace. Please see the GitHub
repository for more
information about using the
google-cloud umbrella gem and the individual
$ gem install gcloud
Instructions and configuration options are covered in the Authentication Guide.
require "gcloud" gcloud = Gcloud.new bigquery = gcloud.bigquery dataset = bigquery.dataset "my-dataset" table = dataset.table "my-table" table.data.each do |row| puts row end
Supported Ruby Versions
This library is supported on Ruby 2.4+.
Google provides official support for Ruby versions that are actively supported by Ruby Core—that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.4 and later. Older versions of Ruby may still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
This library follows Semantic Versioning.
It is currently in major version zero (0.y.z), which means that anything may change at any time and the public API should not be considered stable.
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.