Cloud Speech V1p1beta1 Client - Class Entry (1.8.0)

Reference documentation and code samples for the Cloud Speech V1p1beta1 Client class Entry.

A single replacement configuration.

Generated from protobuf message google.cloud.speech.v1p1beta1.TranscriptNormalization.Entry

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ search string

What to replace. Max length is 100 characters.

↳ replace string

What to replace with. Max length is 100 characters.

↳ case_sensitive bool

Whether the search is case sensitive.

getSearch

What to replace. Max length is 100 characters.

Generated from protobuf field string search = 1;

Returns
TypeDescription
string

setSearch

What to replace. Max length is 100 characters.

Generated from protobuf field string search = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReplace

What to replace with. Max length is 100 characters.

Generated from protobuf field string replace = 2;

Returns
TypeDescription
string

setReplace

What to replace with. Max length is 100 characters.

Generated from protobuf field string replace = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCaseSensitive

Whether the search is case sensitive.

Generated from protobuf field bool case_sensitive = 3;

Returns
TypeDescription
bool

setCaseSensitive

Whether the search is case sensitive.

Generated from protobuf field bool case_sensitive = 3;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this