genlocal is a binary for generating gapics locally. It may be used to test out new changes, test the generation of a new library, test new generator tweaks, run generators against googleapis-private, and various other local tasks.

Required tools

Note: If you are on a Windows platform you will need to install these tools in a linux docker container: Install docker

  1. Install protoc
  2. Install Go
  3. Install python3, pip3
  4. Install virtualenv pip3 install virtualenv
  5. Install Go tools:
go get \ \ \ \ \


git clone this project if you don't already have it checked-out locally.

cd /path/to/google-cloud-go/internal/gapicgen
go run