Skip to content

support reroute_to_grpc_interface for extra needed service #662

@xiaozhenliu-gg5

Description

@xiaozhenliu-gg5

For @google-cloud/kms, SetIamPolicy and GetIamPolicy is defined in googleapis/googleapis/google/cloud/kms/v1/cloudkms_gapic.yaml and it reroutes to google.iam.v1.IAMPolicy which is not supported by micro-generator now.

reroute_to_grpc_interface: google.iam.v1.IAMPolicy

For go, they add the rerouting methods manually to generated client code, [but in separate directory, or it will be rewritten by synthtool]. For current Typescript library, we manually create IAM client, and then mix-in IAM and KMS clients together(in synth.py).

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: 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