Cloud Speech V2 Client - Class ModelMetadata (1.19.1)

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

The metadata about the models in a given region for a specific locale.

Currently this is just the features of the model

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

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_features array|Google\Protobuf\Internal\MapField

Map of the model name -> features of that model

getModelFeatures

Map of the model name -> features of that model

Returns
Type Description
Google\Protobuf\Internal\MapField

setModelFeatures

Map of the model name -> features of that model

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