Cloud Speech V1 Client - Class Entry (1.20.1)

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

A single replacement configuration.

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

Namespace

Google \ Cloud \ Speech \ V1 \ TranscriptNormalization

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ searchstring

What to replace. Max length is 100 characters.

↳ replacestring

What to replace with. Max length is 100 characters.

↳ case_sensitivebool

Whether the search is case sensitive.

getSearch

What to replace. Max length is 100 characters.

Returns
TypeDescription
string

setSearch

What to replace. Max length is 100 characters.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getReplace

What to replace with. Max length is 100 characters.

Returns
TypeDescription
string

setReplace

What to replace with. Max length is 100 characters.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getCaseSensitive

Whether the search is case sensitive.

Returns
TypeDescription
bool

setCaseSensitive

Whether the search is case sensitive.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this