Skip to content

Commit c3d89c2

Browse files
authored
chore: complete google-cloud-translate migration (#16683)
The only change required is in the post-processing script, due to running against existing code. Fixes googleapis/librarian#5335
1 parent f124a9f commit c3d89c2

File tree

3 files changed

+23
-17
lines changed

3 files changed

+23
-17
lines changed

.librarian/generator-input/client-post-processing/integrate-isolated-handwritten-code.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,22 @@ replacements:
9797
translate_v3/services_
9898
translate_v3/types_
9999
100+
API Reference
101+
-------------
102+
.. toctree::
103+
:maxdepth: 2
104+
105+
translate_v2/services_
106+
translate_v2/types_
107+
100108
API Reference
101109
-------------
102110
.. toctree::
103111
:maxdepth: 2
104112
105113
translate_v3beta1/services_
106114
translate_v3beta1/types_
107-
115+
108116
after: |
109117
API Reference
110118
-------------

librarian.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3757,7 +3757,6 @@ libraries:
37573757
- tests/unit/v2
37583758
- tests/unit/v2/test__http.py
37593759
- tests/unit/v2/test_client.py
3760-
skip_generate: true
37613760
python:
37623761
library_type: GAPIC_COMBO
37633762
opt_args_by_api:
Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
2-
"api_description": "can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service.",
3-
"api_id": "translate.googleapis.com",
4-
"api_shortname": "translate",
5-
"client_documentation": "https://cloud.google.com/python/docs/reference/translate/latest",
6-
"default_version": "v3",
7-
"distribution_name": "google-cloud-translate",
8-
"issue_tracker": "https://issuetracker.google.com/savedsearches/559749",
9-
"language": "python",
10-
"library_type": "GAPIC_COMBO",
11-
"name": "translate",
12-
"name_pretty": "Cloud Translation",
13-
"product_documentation": "https://cloud.google.com/translate/docs/",
14-
"release_level": "stable",
15-
"repo": "googleapis/google-cloud-python",
16-
"requires_billing": true
2+
"api_description": "can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service.",
3+
"api_id": "translate.googleapis.com",
4+
"api_shortname": "translate",
5+
"client_documentation": "https://cloud.google.com/python/docs/reference/translate/latest",
6+
"default_version": "v3",
7+
"distribution_name": "google-cloud-translate",
8+
"issue_tracker": "https://issuetracker.google.com/savedsearches/559749",
9+
"language": "python",
10+
"library_type": "GAPIC_COMBO",
11+
"name": "translate",
12+
"name_pretty": "Cloud Translation",
13+
"product_documentation": "https://cloud.google.com/translate/docs/",
14+
"release_level": "stable",
15+
"repo": "googleapis/google-cloud-python"
1716
}

0 commit comments

Comments
 (0)