Skip to content

Commit 3b37229

Browse files
chore: fix several golden issues (googleapis#1226)
* chore: update ymls and regen repo-metadata * chore: update testing proto to get rid of warning * chore: re-enable noservice golden for cloud * chore: fixup yardoc to match generator output
1 parent 6b6dd65 commit 3b37229

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+227
-152
lines changed

gapic-generator-cloud/.toys.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@
4242

4343
def run
4444
set :services, all_service_names(generator: :cloud) if services.empty?
45-
Dir.chdir "#{context_directory}/shared" do
45+
Dir.chdir "#{context_directory}/../shared" do
4646
cmd = ["gen"] + services + verbosity_flags
47-
cmd += ["--generator", generator] if generator
4847
exec_separate_tool cmd
4948
end
5049
end

gapic-generator-cloud/templates/cloud/gem/yardopts.text.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
-
1111
README.md
1212
LICENSE.md
13-
<%- unless gem.generic_endpoint? -%>
13+
<%- unless gem.services.empty? || gem.generic_endpoint? -%>
1414
AUTHENTICATION.md
1515
<%- end -%>

shared/config/compute_small.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
:transports: ["rest"]
33
:gem:
44
:name: google-cloud-compute-v1
5+
:api_shortname: compute
56
:description: google-cloud-compute-v1 is the official client library for the Google Cloud Compute V1 API. This library is considered to be in alpha. This means it is still a work-in-progress and under active development. Any release is subject to backwards-incompatible changes at any time.
67
:summary: API Client library (ALPHA) for the Google Cloud Compute V1 API.
78
:extra_dependencies:

shared/config/compute_small_wrapper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
:transports: ["rest"]
33
:gem:
44
:name: google-cloud-compute
5+
:api_shortname: compute
56
:description: google-cloud-compute is the official client library for the Google Cloud Compute API.
67
:summary: Google Cloud Compute API.
78
:version_dependencies: v1:0.0

shared/config/grafeas_v1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
:gem:
33
:name: "grafeas-v1"
4+
:api_shortname: grafeas
45
:generic_endpoint: true

shared/config/language_v1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
:gem:
33
:name: "google-cloud-language-v1"
4+
:api_shortname: language
45
:defaults:
56
:service:
67
:default_host: "language.googleapis.com"

shared/config/language_v1beta1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
:gem:
33
:name: "google-cloud-language-v1beta1"
4+
:api_shortname: language
45
:env_prefix: LANGUAGE
56
:defaults:
67
:service:

shared/config/language_v1beta2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
:gem:
33
:name: "google-cloud-language-v1beta2"
4+
:api_shortname: language
45
:env_prefix: LANGUAGE
56
:defaults:
67
:service:

shared/config/language_wrapper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
:gem:
33
:name: google-cloud-language
4+
:api_shortname: language
45
:title: Language
56
:summary: Natural language API.
67
:version_dependencies: v1:0.0

shared/config/location.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
:transports: ["grpc", "rest"]
33
:gem:
44
:name: "google-cloud-location"
5+
:api_shortname: location

0 commit comments

Comments
 (0)