templates/cloud/gem/repo-metadata.erb in gapic-generator-cloud-0.6.0 vs templates/cloud/gem/repo-metadata.erb in gapic-generator-cloud-0.6.1
- old
+ new
@@ -1,6 +1,21 @@
<%- assert_locals gem -%>
{
- "language": "ruby",
+<%- if gem.api_id -%>
+ "api_id": "<%= gem.api_id %>",
+<%- end -%>
+ "client_documentation": "<%= gem.library_documentation_url %>",
"distribution_name": "<%= gem.name %>",
- "client_documentation": "https://googleapis.dev/ruby/<%= gem.name %>/latest"
+<%- if gem.issue_tracker_url -%>
+ "issue_tracker": "<%= gem.issue_tracker_url %>",
+<%- end -%>
+ "language": "ruby",
+<%- if gem.api_shortname -%>
+ "name": "<%= gem.api_shortname %>",
+<%- end -%>
+ "name_pretty": "<%= gem.title %> API",
+<%- if gem.product_documentation_url -%>
+ "product_documentation": "<%= gem.product_documentation_url %>",
+<%- end -%>
+ "repo": "googleapis/google-cloud-ruby",
+ "requires_billing": <%= !gem.free_tier? %>
}