Cloud Translation V3 Client - Class SupportedLanguages (2.0.3)

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

The response message for discovering supported languages.

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ languages
array< SupportedLanguage >

A list of supported language responses. This list contains an entry for each language the Translation API supports.

getLanguages

A list of supported language responses. This list contains an entry for each language the Translation API supports.

Returns
Type
Description

setLanguages

A list of supported language responses. This list contains an entry for each language the Translation API supports.

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