Class CustomClass (2.20.1)

CustomClass(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
name str
The resource name of the custom class.
custom_class_id str
If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
items MutableSequence[google.cloud.speech_v1p1beta1.types.CustomClass.ClassItem]
A collection of class items.

Classes

ClassItem

ClassItem(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An item of the class.