REST Resource: projects.locations.customClasses

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 (ClassItem)
    }
  ]
}
Fields
name

string

The resource name of the custom class.

customClassId

string

If this custom class is a resource, the customClassId is the resource id of the CustomClass. Case sensitive.

items[]

object (ClassItem)

A collection of class items.

ClassItem

An item of the class.

JSON representation
{
  "value": string
}
Fields
value

string

The class item's value.

Methods

create

Create a custom class.

delete

Delete a custom class.

get

Get a custom class.

list

List custom classes.

patch

Update a custom class.