Clean and regen docs (#401)
diff --git a/docs/dyn/translate_v2.detections.html b/docs/dyn/translate_v2.detections.html
index 7c20f82..79fa347 100644
--- a/docs/dyn/translate_v2.detections.html
+++ b/docs/dyn/translate_v2.detections.html
@@ -72,18 +72,34 @@
</style>
-<h1><a href="translate_v2.html">Translate API</a> . <a href="translate_v2.detections.html">detections</a></h1>
+<h1><a href="translate_v2.html">Google Cloud Translation API</a> . <a href="translate_v2.detections.html">detections</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#list">list(q)</a></code></p>
-<p class="firstline">Detect the language of text.</p>
+ <code><a href="#detect">detect(body, x__xgafv=None)</a></code></p>
+<p class="firstline">Detects the language of text within a request.</p>
+<p class="toc_element">
+ <code><a href="#list">list(q, x__xgafv=None)</a></code></p>
+<p class="firstline">Detects the language of text within a request.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="list">list(q)</code>
- <pre>Detect the language of text.
+ <code class="details" id="detect">detect(body, x__xgafv=None)</code>
+ <pre>Detects the language of text within a request.
Args:
- q: string, The text to detect (required) (repeated)
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # The request message for language detection.
+ "q": [ # The input text upon which to perform language detection. Repeat this
+ # parameter to perform language detection on multiple text inputs.
+ "A String",
+ ],
+ }
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
Returns:
An object of the form:
@@ -93,8 +109,36 @@
[ # An array of languages which we detect for the given text The most likely language list first.
{
"isReliable": True or False, # A boolean to indicate is the language detection result reliable.
- "confidence": 3.14, # The confidence of the detection resul of this language.
- "language": "A String", # The language we detect
+ "confidence": 3.14, # The confidence of the detection result of this language.
+ "language": "A String", # The language we detected.
+ },
+ ],
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="list">list(q, x__xgafv=None)</code>
+ <pre>Detects the language of text within a request.
+
+Args:
+ q: string, The input text upon which to perform language detection. Repeat this
+parameter to perform language detection on multiple text inputs. (required) (repeated)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ {
+ "detections": [ # A detections contains detection results of several text
+ [ # An array of languages which we detect for the given text The most likely language list first.
+ {
+ "isReliable": True or False, # A boolean to indicate is the language detection result reliable.
+ "confidence": 3.14, # The confidence of the detection result of this language.
+ "language": "A String", # The language we detected.
},
],
],