@@ -305,7 +305,9 @@ image =
305305 , _iSource = Nothing
306306 }
307307
308−-- | Image content, represented as a stream of bytes.
308+-- | Image content, represented as a stream of bytes. Note: as with all
309+-- \`bytes\` fields, protobuffers use a pure binary representation, whereas
310+-- JSON representations use base64.
309311iContent :: Lens' Image (Maybe ByteString)
310312iContent
311313 = lens _iContent (\ s a -> s{_iContent = a}) .
@@ -630,7 +632,7 @@ statusDetailsItem pSdiAddtional_ =
630632 { _sdiAddtional = _Coerce # pSdiAddtional_
631633 }
632634
633−-- | Properties of the object. Contains field \'ype with type URL.
635+-- | Properties of the object. Contains field \'type with type URL.
634636sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
635637sdiAddtional
636638 = lens _sdiAddtional (\ s a -> s{_sdiAddtional = a})
@@ -1486,15 +1488,14 @@ imageContext =
14861488 }
14871489
14881490-- | List of languages to use for TEXT_DETECTION. In most cases, an empty
1489−-- value will yield the best results as it will allow text detection to
1490−-- automatically detect the text language. For languages based on the latin
1491−-- alphabet a hint is not needed. In rare cases, when the language of the
1492−-- text in the image is known in advance, setting this hint will help get
1493−-- better results (although it will hurt a great deal if the hint is
1494−-- wrong). Text detection will return an error if one or more of the
1495−-- languages specified here are not supported. The exact list of supported
1496−-- languages are specified here:
1497−-- https:\/\/cloud.google.com\/translate\/v2\/using_rest#language-params
1491+-- value yields the best results since it enables automatic language
1492+-- detection. For languages based on the Latin alphabet, setting
1493+-- \`language_hints\` is not needed. In rare cases, when the language of
1494+-- the text in the image is known, setting a hint will help get better
1495+-- results (although it will be a significant hindrance if the hint is
1496+-- wrong). Text detection returns an error if one or more of the specified
1497+-- languages is not one of the [supported
1498+-- languages](\/translate\/v2\/translate-reference#supported_languages).
14981499icLanguageHints :: Lens' ImageContext [Text]
14991500icLanguageHints
15001501 = lens _icLanguageHints