Reference documentation and code samples for the Cloud Speech V1p1beta1 Client class CustomClass.
A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.
Generated from protobuf message google.cloud.speech.v1p1beta1.CustomClass
Namespace
Google \ Cloud \ Speech \ V1p1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of the custom class.
↳ custom_class_id
string
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
↳ items
getName
The resource name of the custom class.
string
setName
The resource name of the custom class.
var
string
$this
getCustomClassId
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
string
setCustomClassId
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
var
string
$this
getItems
A collection of class items.
setItems
A collection of class items.
$this