gapic-generator-ruby
gapic-generator-ruby copied to clipboard
Generate Ruby gRPC client libraries from Protocol Buffer definitions.
Methods that can raise `Google::Cloud::NotFoundError` should say so in the generated documentation because that's a common case where Rubyists might normally expect a `nil` return value.
Currently logging in the client requires applying a monkey patch to gRPC. Instead, there should be a configuration in the generated libraries.
We're currently generating a bunch of "real" clients to test against, that are probably redundant at this point (and are taking a lot of time during test runs and CI)....
Garbage was intended as a kitchen sink test, a dumping ground for stuff. But it's also gotten a bit large and difficult to understand, especially for "cross-cutting" features such as...
Field docs for request fields (and corresponding keyword arguments to methods) that are resource references, should include links to the appropriate path helpers (if present) for generating those resource paths.
The generated credentials class currently copies the scopes listed in the discovery doc. However, the discovery doc lists scopes that _could_ be used, whereas the credentials class specifies scopes that...
### What The new `credentials.rb` file does not have autogenerated test coverage. We should add coverage, will would be able to catch issues like https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/1837. This could either involve modifying...
when invoking gapic-generator-cloud docker like this: ```sh $ docker run --rm --user $UID \ --mount type=bind,source=`pwd`/google/showcase/v1beta1,destination=/in/google/showcase/v1beta1,readonly \ --mount type=bind,source=`pwd`/showcase-ruby,destination=/out \ gcr.io/gapic-images/gapic-generator-ruby:latest ``` the generator will fail with the Nil reference...