Resource: 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.
JSON representation |
---|
{
"name"
:
string
,
"customClassId"
:
string
,
"items"
:
[
{
object (
|
Fields | |
---|---|
name
|
The resource name of the custom class. |
customClassId
|
If this custom class is a resource, the customClassId is the resource id of the CustomClass. Case sensitive. |
items[]
|
A collection of class items. |
ClassItem
An item of the class.
JSON representation |
---|
{ "value" : string } |
Fields | |
---|---|
value
|
The class item's value. |
Methods |
|
---|---|
|
Create a custom class. |
|
Delete a custom class. |
|
Get a custom class. |
|
List custom classes. |
|
Update a custom class. |