Resource: CustomClass
CustomClass for biasing in speech recognition. Used to define a set of words or phrases that represents a common concept or theme likely to appear in your audio, for example a list of passenger ship names.
JSON representation |
---|
{ "name": string, "uid": string, "displayName": string, "items": [ { object ( |
Fields | |
---|---|
name |
Output only. Identifier. The resource name of the CustomClass. Format: |
uid |
Output only. System-assigned unique identifier for the CustomClass. |
display |
Optional. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. |
items[] |
A collection of class items. |
state |
Output only. The CustomClass lifecycle state. |
create |
Output only. Creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The most recent time this resource was modified. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
delete |
Output only. The time at which this resource was requested for deletion. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
expire |
Output only. The time at which this resource will be purged. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
annotations |
Optional. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. An object containing a list of |
etag |
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. |
reconciling |
Output only. Whether or not this CustomClass is in the process of being updated. |
kms |
Output only. The KMS key name with which the CustomClass is encrypted. The expected format is |
kms |
Output only. The KMS key version name with which the CustomClass is encrypted. The expected format is |
ClassItem
An item of the class.
JSON representation |
---|
{ "value": string } |
Fields | |
---|---|
value |
The class item's value. |
State
Set of states that define the lifecycle of a CustomClass.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified state. This is only used/useful for distinguishing unset values. |
ACTIVE |
The normal and active state. |
DELETED |
This CustomClass has been deleted. |
Methods |
|
---|---|
|
Creates a CustomClass . |
|
Deletes the CustomClass . |
|
Returns the requested CustomClass . |
|
Lists CustomClasses. |
|
Updates the CustomClass . |
|
Undeletes the CustomClass . |