Cloud Speech V2 Client - Class ModelFeatures (1.19.0)

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

Represents the collection of features belonging to a model

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

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model_feature array<Google\Cloud\Speech\V2\ModelFeature>

Repeated field that contains all features of the model

getModelFeature

Repeated field that contains all features of the model

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setModelFeature

Repeated field that contains all features of the model

Parameter
Name Description
var array<Google\Cloud\Speech\V2\ModelFeature>
Returns
Type Description
$this