Class PhraseSet
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
Implements
Inherited Members
Namespace: Google.Apis.Speech.v1.Data
Assembly: Google.Apis.Speech.v1.dll
Syntax
public class PhraseSet : IDirectResponseSchema
Properties
Annotations
Output only. 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. This field is not used.
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Boost
Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over
other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as
well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost
will simply be ignored. Though boost
can accept a wide range of positive values, most use cases are best
served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the
optimal value for your use case as well as adding phrases both with and without boost to your requests.
Declaration
[JsonProperty("boost")]
public virtual float? Boost { get; set; }
Property Value
Type | Description |
---|---|
float? |
DeleteTime
object representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")]
public virtual object DeleteTime { get; set; }
Property Value
Type | Description |
---|---|
object |
DeleteTimeDateTimeOffset
DateTimeOffset representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeleteTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DeleteTimeRaw
Output only. The time at which this resource was requested for deletion. This field is not used.
Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
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. This field is not used.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
Output only. The time at which this resource will be purged. This field is not used.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
KmsKeyName
Output only. The KMS key name with which the
content of the PhraseSet is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
.
Declaration
[JsonProperty("kmsKeyName")]
public virtual string KmsKeyName { get; set; }
Property Value
Type | Description |
---|---|
string |
KmsKeyVersionName
Output only. The KMS key version name
with which content of the PhraseSet is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
.
Declaration
[JsonProperty("kmsKeyVersionName")]
public virtual string KmsKeyVersionName { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The resource name of the phrase set.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Phrases
A list of word and phrases.
Declaration
[JsonProperty("phrases")]
public virtual IList<Phrase> Phrases { get; set; }
Property Value
Type | Description |
---|---|
IList<Phrase> |
Reconciling
Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used.
Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type | Description |
---|---|
bool? |
State
Output only. The CustomClass lifecycle state. This field is not used.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
Uid
Output only. System-assigned unique identifier for the PhraseSet. This field is not used.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |