Skip to content

Commit

Permalink
fix product documentation link (#3000)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRoyalTnetennba authored Mar 11, 2019
1 parent be2c3c6 commit f325579
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion google-cloud-talent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $ gem install google-cloud-talent
to see the full list of Cloud APIs that we cover.

[Client Library Documentation]: https://googleapis.github.io/google-cloud-ruby/#/docs/google-cloud-talent/latest/google/cloud/talent/v4beta1
[Product Documentation]: https://cloud.google.com/talent
[Product Documentation]: https://cloud.google.com/talent-solution

## Enabling Logging

Expand Down
10 changes: 5 additions & 5 deletions google-cloud-talent/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-03-04T16:38:21.275578Z",
"updateTime": "2019-03-11T19:37:28.434096Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.14",
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
"version": "0.16.15",
"dockerImage": "googleapis/artman@sha256:9caadfa59d48224cba5f3217eb9d61a155b78ccf31e628abef385bc5b7ed3bd2"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "41d72d444fbe445f4da89e13be02078734fb7875",
"internalRef": "236230004"
"sha": "4d96a08055b1db23262c812c285e83aaec6c8133",
"internalRef": "237832350"
}
}
],
Expand Down
15 changes: 11 additions & 4 deletions google-cloud-talent/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,20 @@

# Require the helpers file
s.replace(
f'lib/google/cloud/talent/v4beta1.rb',
f'require "google/cloud/talent/v4beta1/resume_service_client"',
'lib/google/cloud/talent/v4beta1.rb',
'require "google/cloud/talent/v4beta1/resume_service_client"',
'\n'.join([
f'require "google/cloud/talent/v4beta1/resume_service_client"',
f'require "google/cloud/talent/v4beta1/helpers"',
'require "google/cloud/talent/v4beta1/resume_service_client"',
'require "google/cloud/talent/v4beta1/helpers"',
])
)

# Correct README url
s.replace(
'README.md',
'https://cloud.google.com/talent',
'https://cloud.google.com/talent-solution'
)

# Generate the helper methods
call(f'bundle update && bundle exec rake generate_partials TALENT_SERVICES={",".join(services)}', shell=True)

0 comments on commit f325579

Please sign in to comment.