Class CustomClass (2.16.2)

Stay organized with collections Save and categorize content based on your preferences.
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 Sequence[google.cloud.speech_v1p1beta1.types.CustomClass.ClassItem]
A collection of class items.

Inheritance

builtins.object > proto.message.Message > CustomClass

Classes

ClassItem

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

An item of the class.