Cloud Translation V3 Client - Class AdaptiveMtTranslation (1.19.0)

Reference documentation and code samples for the Cloud Translation V3 Client class AdaptiveMtTranslation.

An AdaptiveMt translation.

Generated from protobuf message google.cloud.translation.v3.AdaptiveMtTranslation

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ translated_text string

Output only. The translated text.

getTranslatedText

Output only. The translated text.

Returns
Type Description
string

setTranslatedText

Output only. The translated text.

Parameter
Name Description
var string
Returns
Type Description
$this