@swamp/gcp/translate
v2026.04.23.1
Google Cloud translate infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudtranslatecloudinfrastructure
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/translate@swamp/gcp/translate/adaptivemtdatasetsv2026.04.23.1adaptivemtdatasets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. |
| exampleCount? | number | The number of examples in the dataset. |
| name? | string | Identifier. The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset_id}` |
| sourceLanguageCode? | string | The BCP-47 language code of the source language. |
| targetLanguageCode? | string | The BCP-47 language code of the target language. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a adaptiveMtDatasets
getGet a adaptiveMtDatasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the adaptiveMtDatasets |
deleteDelete the adaptiveMtDatasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the adaptiveMtDatasets |
syncSync adaptiveMtDatasets state from GCP
import_adaptive_mt_fileimport adaptive mt file
| Argument | Type | Description |
|---|---|---|
| fileInputSource? | any | |
| gcsInputSource? | any |
Resources
state(infinite)— An Adaptive MT Dataset.
@swamp/gcp/translate/adaptivemtdatasets-adaptivemtfilesv2026.04.23.1adaptivemtdatasets_adaptivemtfiles.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a adaptiveMtFiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the adaptiveMtFiles |
deleteDelete the adaptiveMtFiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the adaptiveMtFiles |
syncSync adaptiveMtFiles state from GCP
Resources
state(infinite)— An AdaptiveMtFile.
@swamp/gcp/translate/adaptivemtdatasets-adaptivemtfiles-adaptivemtsentencesv2026.04.23.1adaptivemtdatasets_adaptivemtfiles_adaptivemtsentences.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a adaptiveMtSentences
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the adaptiveMtSentences |
syncSync adaptiveMtSentences state from GCP
Resources
state(infinite)— An AdaptiveMt sentence entry.
@swamp/gcp/translate/adaptivemtdatasets-adaptivemtsentencesv2026.04.23.1adaptivemtdatasets_adaptivemtsentences.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a adaptiveMtSentences
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the adaptiveMtSentences |
syncSync adaptiveMtSentences state from GCP
Resources
state(infinite)— An AdaptiveMt sentence entry.
@swamp/gcp/translate/datasetsv2026.04.23.1datasets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. |
| name? | string | The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` |
| sourceLanguageCode? | string | The BCP-47 language code of the source language. |
| targetLanguageCode? | string | The BCP-47 language code of the target language. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a datasets
getGet a datasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the datasets |
deleteDelete the datasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the datasets |
syncSync datasets state from GCP
export_dataexport data
| Argument | Type | Description |
|---|---|---|
| outputConfig? | any |
import_dataimport data
| Argument | Type | Description |
|---|---|---|
| inputConfig? | any |
Resources
state(infinite)— A dataset that hosts the examples (sentence pairs) used for translation models.
@swamp/gcp/translate/datasets-examplesv2026.04.23.1datasets_examples.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a examples
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the examples |
syncSync examples state from GCP
Resources
state(infinite)— A sentence pair.
@swamp/gcp/translate/glossariesv2026.04.23.1glossaries.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| displayName? | string | Optional. The display name of the glossary. |
| inputConfig? | object | Input configuration for glossaries. |
| languageCodesSet? | object | Used with equivalent term set glossaries. |
| languagePair? | object | Used with unidirectional glossaries. |
| name? | string | Identifier. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a glossaries
getGet a glossaries
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the glossaries |
updateUpdate glossaries attributes
deleteDelete the glossaries
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the glossaries |
syncSync glossaries state from GCP
Resources
state(infinite)— Represents a glossary built from user-provided data.
@swamp/gcp/translate/glossaries-glossaryentriesv2026.04.23.1glossaries_glossaryentries.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| description? | string | Describes the glossary entry. |
| name? | string | Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*` |
| termsPair? | object | Represents a single entry for an unidirectional glossary. |
| termsSet? | object | Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a glossaryEntries
getGet a glossaryEntries
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the glossaryEntries |
updateUpdate glossaryEntries attributes
deleteDelete the glossaryEntries
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the glossaryEntries |
syncSync glossaryEntries state from GCP
Resources
state(infinite)— Represents a single entry in a glossary.
@swamp/gcp/translate/locationsv2026.04.23.1locations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the locations |
syncSync locations state from GCP
adaptive_mt_translateadaptive mt translate
| Argument | Type | Description |
|---|---|---|
| content? | any | |
| dataset? | any | |
| glossaryConfig? | any | |
| referenceSentenceConfig? | any |
batch_translate_documentbatch translate document
| Argument | Type | Description |
|---|---|---|
| customizedAttribution? | any | |
| enableRotationCorrection? | any | |
| enableShadowRemovalNativePdf? | any | |
| formatConversions? | any | |
| glossaries? | any | |
| inputConfigs? | any | |
| models? | any | |
| outputConfig? | any | |
| pdfNativeOnly? | any | |
| sourceLanguageCode? | any | |
| targetLanguageCodes? | any |
batch_translate_textbatch translate text
| Argument | Type | Description |
|---|---|---|
| glossaries? | any | |
| inputConfigs? | any | |
| labels? | any | |
| models? | any | |
| outputConfig? | any | |
| sourceLanguageCode? | any | |
| targetLanguageCodes? | any |
detect_languagedetect language
| Argument | Type | Description |
|---|---|---|
| content? | any | |
| documentInputConfig? | any | |
| labels? | any | |
| mimeType? | any | |
| model? | any |
get_supported_languagesget supported languages
refine_textrefine text
| Argument | Type | Description |
|---|---|---|
| refinementEntries? | any | |
| sourceLanguageCode? | any | |
| targetLanguageCode? | any |
romanize_textromanize text
| Argument | Type | Description |
|---|---|---|
| contents? | any | |
| sourceLanguageCode? | any |
translate_documenttranslate document
| Argument | Type | Description |
|---|---|---|
| customizedAttribution? | any | |
| enableRotationCorrection? | any | |
| enableShadowRemovalNativePdf? | any | |
| formatConversions? | any | |
| glossaries? | any | |
| inputConfigs? | any | |
| models? | any | |
| outputConfig? | any | |
| pdfNativeOnly? | any | |
| sourceLanguageCode? | any | |
| targetLanguageCodes? | any |
translate_texttranslate text
| Argument | Type | Description |
|---|---|---|
| glossaries? | any | |
| inputConfigs? | any | |
| labels? | any | |
| models? | any | |
| outputConfig? | any | |
| sourceLanguageCode? | any | |
| targetLanguageCodes? | any |
Resources
state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/translate/modelsv2026.04.23.1models.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| dataset? | string | Required. The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}` |
| displayName? | string | The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. |
| name? | string | The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}` |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a models
getGet a models
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the models |
deleteDelete the models
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the models |
syncSync models state from GCP
Resources
state(infinite)— A trained translation model.
2026.04.03.333.1 KBApr 3, 2026
Google Cloud translate infrastructure models
Release Notes
- Updated: locations, adaptivemtdatasets, adaptivemtdatasets_adaptivemtfiles, adaptivemtdatasets_adaptivemtfiles_adaptivemtsentences, adaptivemtdatasets_adaptivemtsentences, datasets, datasets_examples, glossaries, glossaries_glossaryentries, models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudtranslatecloudinfrastructure
2026.04.03.132.3 KBApr 3, 2026
Google Cloud translate infrastructure models
Release Notes
- Updated: locations, adaptivemtdatasets, adaptivemtdatasets_adaptivemtfiles, adaptivemtdatasets_adaptivemtfiles_adaptivemtsentences, adaptivemtdatasets_adaptivemtsentences, datasets, datasets_examples, glossaries, glossaries_glossaryentries, models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudtranslatecloudinfrastructure
2026.04.02.232.1 KBApr 2, 2026
Google Cloud translate infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudtranslatecloudinfrastructure
2026.03.27.130.7 KBMar 27, 2026
Google Cloud translate infrastructure models
Release Notes
- Added: locations, adaptivemtdatasets, adaptivemtdatasets_adaptivemtfiles, adaptivemtdatasets_adaptivemtfiles_adaptivemtsentences, adaptivemtdatasets_adaptivemtsentences, datasets, datasets_examples, glossaries, glossaries_glossaryentries, models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudtranslatecloudinfrastructure