You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add transport option to generation_config.yaml (#3052)
This PR adds a new optional entry "`transport`" to
`generation_config.yaml`.
The `transport` entry will only have effect in the postprocessing output
(i.e. generated libraries will still have its transport inferred via
BUILD.bazel). The main output file affected by this is
`.repo-metadata.json` and its derived files (e.g. README.md).
This addresses the [need to allow a custom transport for
java-storage](googleapis/java-storage#2619 (comment)).
| library_type | No |`GAPIC_AUTO` if not specified |
115
+
| release_level | No |`preview` if not specified |
116
+
| api_id | No |`{api_shortname}.googleapis.com` if not specified |
117
+
| api_reference | No ||
118
+
| codeowner_team | No ||
119
+
| client_documentation | No ||
120
+
| distribution_name | No |`{group_id}:google-{cloud_prefix}{library_name}` if not specified |
121
+
| excluded_poms | No ||
122
+
| excluded_dependencies | No ||
123
+
| googleapis_commitish | No | use repository level `googleapis_commitish` if not specified. |
124
+
| group_id | No |`com.google.cloud` if not specified |
125
+
| issue_tracker | No ||
126
+
| library_name | No |`api_shortname` is not specified. This value should be unique among all libraries. |
127
+
| rest_documentation | No ||
128
+
| rpc_documentation | No ||
129
+
| cloud_api | No |`true` if not specified |
130
+
| requires-billing | No |`true` if not specified |
131
+
| transport | No | must be one of `grpc`, `rest` or `both`. This value would only be used for generating .repo-metadata.json and relevant sections in README |
132
+
131
133
132
134
Note that `cloud_prefix` is `cloud-` if `cloud_api` is `true`; empty otherwise.
0 commit comments