There's a lot of open issues
A long-lived project that still receives updates
Common protos and gRPC services for Google IAM
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Common Protos Ruby

Gem Version Gem Version

This repository is a home for the protocol buffer types which are common dependencies throughout the Google API ecosystem, generated for Ruby. The protobuf definitions for these generated Ruby classes are provided in the API Common Protos repository.

Using these generated classes

See googleapis-common-protos and googleapis-common-protos-types.

These packages are also available from rubygems:

Updating the gems

To add, remove, or modify the common types in these gems do the following.

  1. Update the sub-module containing all of Google's public .proto files:

    $ git submodule update --remote googleapis
  2. If necessary, update the list of protos to include. These are globs in the PROTO_GLOBS array in the library's Toys script (e.g. for message types: googleapis-common-protos-types/.toys.rb). This is needed only if new directories are added (which should be rare).

  3. Compile new proto classes. This can be run at the top level to recompile all gems, or in a gem's directory to recompile only that one.

    $ toys compile
  4. Update Gem version (which is located in the .gemspec file), and write an entry in the CHANGELOG.md. Create and merge a PR for this, and tag it with the gem name and version.

  5. Build and release the gem:

    $ cd $GEM_TO_RELEASE
    $ toys release