Cloud Translation V3 Client - Class RomanizeTextResponse (1.18.1)

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

The response message for synchronous romanization.

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ romanizations array<Google\Cloud\Translate\V3\Romanization>

Text romanization responses. This field has the same length as contents.

getRomanizations

Text romanization responses.

This field has the same length as contents.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRomanizations

Text romanization responses.

This field has the same length as contents.

Parameter
Name Description
var array<Google\Cloud\Translate\V3\Romanization>
Returns
Type Description
$this