Cloud Translation V3 Client - Class AdaptiveMtTranslateResponse (1.17.7)

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

An AdaptiveMtTranslate response.

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ translations
array< Google\Cloud\Translate\V3\AdaptiveMtTranslation >

Output only. The translation.

↳ language_code
string

Output only. The translation's language code.

getTranslations

Output only. The translation.

Returns
Type
Description

setTranslations

Output only. The translation.

Parameter
Name
Description
Returns
Type
Description
$this

getLanguageCode

Output only. The translation's language code.

Returns
Type
Description
string

setLanguageCode

Output only. The translation's language code.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: