Cloud Speech V2 Client - Class LanguageMetadata (1.19.1)

Reference documentation and code samples for the Cloud Speech V2 Client class LanguageMetadata.

The metadata about locales available in a given region. Currently this is just the models that are available for each locale

Generated from protobuf message google.cloud.speech.v2.LanguageMetadata

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ models array|Google\Protobuf\Internal\MapField

Map of locale (language code) -> models

getModels

Map of locale (language code) -> models

Returns
Type Description
Google\Protobuf\Internal\MapField

setModels

Map of locale (language code) -> models

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this