@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 SwampHow well-documented and verifiable this extension is.
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
| Argument | Type | Description |
|---|---|---|
| customClass? | object | 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. |
| customClassId? | string | If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive. |
| annotations? | record | 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. |
| deleteTime? | string | Output only. The time at which this resource was requested for deletion. This field is not used. |
| displayName? | string | Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used. |
| etag? | string | 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. |
| expireTime? | string | Output only. The time at which this resource will be purged. This field is not used. |
| items? | array | A collection of class items. |
| kmsKeyName? | string | Output 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? | string | Output 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? | string | The resource name of the custom class. |
| reconciling? | boolean | Output only. Whether or not this CustomClass is in the process of being updated. This field is not used. |
| state? | enum | Output only. The CustomClass lifecycle state. This field is not used. |
| uid? | string | Output only. System-assigned unique identifier for the CustomClass. This field is not used. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a customClasses
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a customClasses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the customClasses |
updateUpdate customClasses attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the customClasses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| phraseSet? | object | Provides "hints" to the speech recognizer to favor specific words and phrases in the results. |
| phraseSetId? | string | Required. 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? | record | 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. |
| boost? | number | 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 b |
| deleteTime? | string | Output only. The time at which this resource was requested for deletion. This field is not used. |
| displayName? | string | Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used. |
| etag? | string | 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. |
| expireTime? | string | Output only. The time at which this resource will be purged. This field is not used. |
| kmsKeyName? | string | Output 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? | string | Output 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? | string | The resource name of the phrase set. |
| phrases? | array | A list of word and phrases. |
| reconciling? | boolean | Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used. |
| state? | enum | Output only. The CustomClass lifecycle state. This field is not used. |
| uid? | string | Output only. System-assigned unique identifier for the PhraseSet. This field is not used. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a phraseSets
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a phraseSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the phraseSets |
updateUpdate phraseSets attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the phraseSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the phraseSets |
syncSync phraseSets state from GCP
Resources
state(infinite)— Provides "hints" to the speech recognizer to favor specific words and phrases...
2026.04.03.324.6 KBApr 3, 2026
Google Cloud speech infrastructure models
Release Notes
- Updated: customclasses, phrasesets
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudspeechcloudinfrastructure
2026.04.03.124.2 KBApr 3, 2026
Google Cloud speech infrastructure models
Release Notes
- Updated: customclasses, phrasesets
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudspeechcloudinfrastructure
2026.04.02.224.2 KBApr 2, 2026
Google Cloud speech infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudspeechcloudinfrastructure
2026.03.27.120.8 KBMar 27, 2026
Google Cloud speech infrastructure models
Release Notes
- Added: customclasses, phrasesets
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudspeechcloudinfrastructure