Skip to main content

@swamp/gcp/speech

v2026.04.23.1

Google Cloud speech infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudspeechcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/speech

@swamp/gcp/speech/customclassesv2026.04.23.1customclasses.ts

Global Arguments

ArgumentTypeDescription
customClass?objectA 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.
customClassId?stringIf this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
annotations?recordOutput 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.
deleteTime?stringOutput only. The time at which this resource was requested for deletion. This field is not used.
displayName?stringOutput only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
etag?stringOutput 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.
expireTime?stringOutput only. The time at which this resource will be purged. This field is not used.
items?arrayA collection of class items.
kmsKeyName?stringOutput only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
kmsKeyVersionName?stringOutput only. The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.
name?stringThe resource name of the custom class.
reconciling?booleanOutput only. Whether or not this CustomClass is in the process of being updated. This field is not used.
state?enumOutput only. The CustomClass lifecycle state. This field is not used.
uid?stringOutput only. System-assigned unique identifier for the CustomClass. This field is not used.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a customClasses
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a customClasses
ArgumentTypeDescription
identifierstringThe name of the customClasses
updateUpdate customClasses attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the customClasses
ArgumentTypeDescription
identifierstringThe name of the customClasses
syncSync customClasses state from GCP

Resources

state(infinite)— A set of words or phrases that represents a common concept likely to appear i...
@swamp/gcp/speech/phrasesetsv2026.04.23.1phrasesets.ts

Global Arguments

ArgumentTypeDescription
phraseSet?objectProvides "hints" to the speech recognizer to favor specific words and phrases in the results.
phraseSetId?stringRequired. The ID to use for the phrase set, which will become the final component of the phrase set's resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
annotations?recordOutput 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.
boost?numberHint 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 b
deleteTime?stringOutput only. The time at which this resource was requested for deletion. This field is not used.
displayName?stringOutput only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used.
etag?stringOutput 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.
expireTime?stringOutput only. The time at which this resource will be purged. This field is not used.
kmsKeyName?stringOutput only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
kmsKeyVersionName?stringOutput only. The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) 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}`.
name?stringThe resource name of the phrase set.
phrases?arrayA list of word and phrases.
reconciling?booleanOutput only. Whether or not this PhraseSet is in the process of being updated. This field is not used.
state?enumOutput only. The CustomClass lifecycle state. This field is not used.
uid?stringOutput only. System-assigned unique identifier for the PhraseSet. This field is not used.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a phraseSets
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a phraseSets
ArgumentTypeDescription
identifierstringThe name of the phraseSets
updateUpdate phraseSets attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the phraseSets
ArgumentTypeDescription
identifierstringThe name of the phraseSets
syncSync phraseSets state from GCP

Resources

state(infinite)— Provides "hints" to the speech recognizer to favor specific words and phrases...