docs: update docs/dyn (#1096)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/6f0f288a-a1e8-4b2d-a85f-00b1c6150185/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/39b7149da4026765385403632db3c6f63db96b2c
Source-Link: https://github.com/googleapis/synthtool/commit/9a7d9fbb7045c34c9d3d22c1ff766eeae51f04c9
Source-Link: https://github.com/googleapis/synthtool/commit/dc9903a8c30c3662b6098f0e4a97f221d67268b2
Source-Link: https://github.com/googleapis/synthtool/commit/7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58
Source-Link: https://github.com/googleapis/synthtool/commit/d5fc0bcf9ea9789c5b0e3154a9e3b29e5cea6116
Source-Link: https://github.com/googleapis/synthtool/commit/e89175cf074dccc4babb4eca66ae913696e47a71
Source-Link: https://github.com/googleapis/synthtool/commit/7d652819519dfa24da9e14548232e4aaba71a11c
Source-Link: https://github.com/googleapis/synthtool/commit/7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279
Source-Link: https://github.com/googleapis/synthtool/commit/1f1148d3c7a7a52f0c98077f976bd9b3c948ee2b
Source-Link: https://github.com/googleapis/synthtool/commit/2c8aecedd55b0480fb4e123b6e07fa5b12953862
Source-Link: https://github.com/googleapis/synthtool/commit/3d3e94c4e02370f307a9a200b0c743c3d8d19f29
Source-Link: https://github.com/googleapis/synthtool/commit/c7824ea48ff6d4d42dfae0849aec8a85acd90bd9
Source-Link: https://github.com/googleapis/synthtool/commit/ba9918cd22874245b55734f57470c719b577e591
Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324
Source-Link: https://github.com/googleapis/synthtool/commit/6542bd723403513626f61642fc02ddca528409aa
diff --git a/docs/dyn/translate_v2.translations.html b/docs/dyn/translate_v2.translations.html
index ed73b73..9df3bc0 100644
--- a/docs/dyn/translate_v2.translations.html
+++ b/docs/dyn/translate_v2.translations.html
@@ -78,7 +78,7 @@
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
- <code><a href="#list">list(q, target, source=None, model=None, cid=None, format=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(q, target, cid=None, format=None, model=None, source=None, x__xgafv=None)</a></code></p>
<p class="firstline">Translates input text, returning translated text.</p>
<p class="toc_element">
<code><a href="#translate">translate(body=None, x__xgafv=None)</a></code></p>
@@ -90,7 +90,7 @@
</div>
<div class="method">
- <code class="details" id="list">list(q, target, source=None, model=None, cid=None, format=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(q, target, cid=None, format=None, model=None, source=None, x__xgafv=None)</code>
<pre>Translates input text, returning translated text.
Args:
@@ -98,18 +98,18 @@
operations on multiple text inputs. (required) (repeated)
target: string, The language to use for translation of the input text, set to one of the
language codes listed in Language Support. (required)
- source: string, The language of the source text, set to one of the language codes listed in
-Language Support. If the source language is not specified, the API will
-attempt to identify the source language automatically and return it within
-the response.
- model: string, The `model` type requested for this translation. Valid values are
-listed in public documentation.
cid: string, The customization id for translate (repeated)
format: string, The format of the source text, in either HTML (default) or plain-text. A
value of "html" indicates HTML and a value of "text" indicates plain-text.
Allowed values
html - Specifies the input is in HTML
text - Specifies the input is in plain textual format
+ model: string, The `model` type requested for this translation. Valid values are
+listed in public documentation.
+ source: string, The language of the source text, set to one of the language codes listed in
+Language Support. If the source language is not specified, the API will
+attempt to identify the source language automatically and return it within
+the response.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -121,14 +121,14 @@
{ # The main language translation response message.
"translations": [ # Translations contains list of translation results of given text
{
- "model": "A String", # The `model` type used for this translation. Valid values are
- # listed in public documentation. Can be different from requested `model`.
- # Present only if specific model type was explicitly requested.
- "translatedText": "A String", # Text translated into the target language.
"detectedSourceLanguage": "A String", # The source language of the initial request, detected automatically, if
# no source language was passed within the initial request. If the
# source language was passed, auto-detection of the language will not
# occur and this field will be empty.
+ "model": "A String", # The `model` type used for this translation. Valid values are
+ # listed in public documentation. Can be different from requested `model`.
+ # Present only if specific model type was explicitly requested.
+ "translatedText": "A String", # Text translated into the target language.
},
],
}</pre>
@@ -143,16 +143,16 @@
The object takes the form of:
{ # The main translation request message for the Cloud Translation API.
- "source": "A String", # The language of the source text, set to one of the language codes listed in
- # Language Support. If the source language is not specified, the API will
- # attempt to identify the source language automatically and return it within
- # the response.
+ "target": "A String", # The language to use for translation of the input text, set to one of the
+ # language codes listed in Language Support.
"q": [ # The input text to translate. Repeat this parameter to perform translation
# operations on multiple text inputs.
"A String",
],
- "target": "A String", # The language to use for translation of the input text, set to one of the
- # language codes listed in Language Support.
+ "source": "A String", # The language of the source text, set to one of the language codes listed in
+ # Language Support. If the source language is not specified, the API will
+ # attempt to identify the source language automatically and return it within
+ # the response.
"format": "A String", # The format of the source text, in either HTML (default) or plain-text. A
# value of "html" indicates HTML and a value of "text" indicates plain-text.
"model": "A String", # The `model` type requested for this translation. Valid values are
@@ -170,14 +170,14 @@
{ # The main language translation response message.
"translations": [ # Translations contains list of translation results of given text
{
- "model": "A String", # The `model` type used for this translation. Valid values are
- # listed in public documentation. Can be different from requested `model`.
- # Present only if specific model type was explicitly requested.
- "translatedText": "A String", # Text translated into the target language.
"detectedSourceLanguage": "A String", # The source language of the initial request, detected automatically, if
# no source language was passed within the initial request. If the
# source language was passed, auto-detection of the language will not
# occur and this field will be empty.
+ "model": "A String", # The `model` type used for this translation. Valid values are
+ # listed in public documentation. Can be different from requested `model`.
+ # Present only if specific model type was explicitly requested.
+ "translatedText": "A String", # Text translated into the target language.
},
],
}</pre>