Skip to content

Add alternative to reroute_to_grpc_interface #536

@busunkim96

Description

@busunkim96

Pub/Sub and KMS use the reroute_to_grpc_interface option in the GAPIC yaml to add additional IAM methods with the monolithic generator. This adds the methods get_iam_policy(), set_iam_policy(), test_iam_permission(). There is no equivalent in the microgenerator.

IAM v1 is a full-fledged API and can be generated with the existing protos/configs here.

Options:

  • Publish the google/iam/v1* client somewhere. Possible locations: grpc-google-iam-v1, google-cloud-iam, google-api-core, some new package.
  • Add an option to the generator to add IAM methods.

Thoughts?

Here is what NodeJS did for reference: googleapis/gax-nodejs#762 and googleapis/gapic-generator-typescript#375

CC @plamut @software-dov

Metadata

Metadata

Assignees

Labels

conversion blockingA surface delta, bug, missing feature, or other issue that prevents API conversiontype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions