docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/translate_v3.projects.locations.html b/docs/dyn/translate_v3.projects.locations.html
index f13fbd5..13f3221 100644
--- a/docs/dyn/translate_v3.projects.locations.html
+++ b/docs/dyn/translate_v3.projects.locations.html
@@ -94,10 +94,10 @@
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets information about a location.</p>
<p class="toc_element">
- <code><a href="#getSupportedLanguages">getSupportedLanguages(parent, displayLanguageCode=None, model=None, x__xgafv=None)</a></code></p>
+ <code><a href="#getSupportedLanguages">getSupportedLanguages(parent, model=None, displayLanguageCode=None, x__xgafv=None)</a></code></p>
<p class="firstline">Returns a list of supported languages for translation.</p>
<p class="toc_element">
- <code><a href="#list">list(name, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(name, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists information about the supported locations for this service.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -296,9 +296,6 @@
{ # This resource represents a long-running operation that is the result of a
# network API call.
- "done": True or False, # If the value is `false`, it means the operation is still in progress.
- # If `true`, the operation is completed, and either `error` or `response` is
- # available.
"response": { # The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is
# `google.protobuf.Empty`. If the original method is standard
@@ -336,6 +333,9 @@
# long-running operation should document the metadata type, if any.
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
+ "done": True or False, # If the value is `false`, it means the operation is still in progress.
+ # If `true`, the operation is completed, and either `error` or `response` is
+ # available.
}</pre>
</div>
@@ -437,7 +437,7 @@
</div>
<div class="method">
- <code class="details" id="getSupportedLanguages">getSupportedLanguages(parent, displayLanguageCode=None, model=None, x__xgafv=None)</code>
+ <code class="details" id="getSupportedLanguages">getSupportedLanguages(parent, model=None, displayLanguageCode=None, x__xgafv=None)</code>
<pre>Returns a list of supported languages for translation.
Args:
@@ -454,9 +454,6 @@
Only models within the same region (have same location-id) can be used,
otherwise an INVALID_ARGUMENT (400) error is returned. (required)
- displayLanguageCode: string, Optional. The language to use to return localized, human readable names
-of supported languages. If missing, then display names are not returned
-in a response.
model: string, Optional. Get supported languages of this model.
The format depends on model type:
@@ -471,6 +468,9 @@
Returns languages supported by the specified model.
If missing, we get supported languages of Google general base (PBMT) model.
+ displayLanguageCode: string, Optional. The language to use to return localized, human readable names
+of supported languages. If missing, then display names are not returned
+in a response.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -484,28 +484,28 @@
# for each language the Translation API supports.
{ # A single supported language response corresponds to information related
# to one supported language.
- "supportTarget": True or False, # Can be used as target language.
- "displayName": "A String", # Human readable name of the language localized in the display language
- # specified in the request.
"supportSource": True or False, # Can be used as source language.
"languageCode": "A String", # Supported language code, generally consisting of its ISO 639-1
# identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes
# including language and region identifiers are returned (for example,
# 'zh-TW' and 'zh-CN')
+ "supportTarget": True or False, # Can be used as target language.
+ "displayName": "A String", # Human readable name of the language localized in the display language
+ # specified in the request.
},
],
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(name, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(name, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</code>
<pre>Lists information about the supported locations for this service.
Args:
name: string, The resource that owns the locations collection, if applicable. (required)
- filter: string, The standard list filter.
pageToken: string, The standard list page token.
pageSize: integer, The standard list page size.
+ filter: string, The standard list filter.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -574,6 +574,8 @@
The object takes the form of:
{ # The request message for synchronous translation.
+ "targetLanguageCode": "A String", # Required. The BCP-47 language code to use for translation of the input
+ # text, set to one of the language codes listed in Language Support.
"sourceLanguageCode": "A String", # Optional. The BCP-47 language code of the input text if
# known, for example, "en-US" or "sr-Latn". Supported language codes are
# listed in Language Support. If the source language isn't specified, the API
@@ -627,8 +629,6 @@
# information.
"a_key": "A String",
},
- "targetLanguageCode": "A String", # Required. The BCP-47 language code to use for translation of the input
- # text, set to one of the language codes listed in Language Support.
}
x__xgafv: string, V1 error format.