- Before you begin
- Samples
- Translation_service.adaptive_mt_translate
- Translation_service.batch_translate_document
- Translation_service.batch_translate_text
- Translation_service.create_adaptive_mt_dataset
- Translation_service.create_dataset
- Translation_service.create_glossary
- Translation_service.create_glossary_entry
- Translation_service.create_model
- Translation_service.delete_adaptive_mt_dataset
- Translation_service.delete_adaptive_mt_file
- Translation_service.delete_dataset
- Translation_service.delete_glossary
- Translation_service.delete_glossary_entry
- Translation_service.delete_model
- Translation_service.detect_language
- Translation_service.export_data
- Translation_service.get_adaptive_mt_dataset
- Translation_service.get_adaptive_mt_file
- Translation_service.get_dataset
- Translation_service.get_glossary
- Translation_service.get_glossary_entry
- Translation_service.get_model
- Translation_service.get_supported_languages
- Translation_service.import_adaptive_mt_file
- Translation_service.import_data
- Translation_service.list_adaptive_mt_datasets
- Translation_service.list_adaptive_mt_files
- Translation_service.list_adaptive_mt_sentences
- Translation_service.list_datasets
- Translation_service.list_examples
- Translation_service.list_glossaries
- Translation_service.list_glossary_entries
- Translation_service.list_models
- Translation_service.romanize_text
- Translation_service.translate_document
- Translation_service.translate_text
- Translation_service.update_glossary
- Translation_service.update_glossary_entry
- Translation_service.batch_translate_document
- Translation_service.batch_translate_text
- Translation_service.create_glossary
- Translation_service.delete_glossary
- Translation_service.detect_language
- Translation_service.get_glossary
- Translation_service.get_supported_languages
- Translation_service.list_glossaries
- Translation_service.translate_document
- Translation_service.translate_text
- Quickstart
Before running the samples, make sure you've followed the steps outlined in Using the client library.
cd samples
npm install
cd ..
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.adaptive_mt_translate.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.batch_translate_document.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.batch_translate_text.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.create_adaptive_mt_dataset.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.create_dataset.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.create_glossary.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.create_glossary_entry.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.create_model.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.delete_adaptive_mt_dataset.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.delete_adaptive_mt_file.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.delete_dataset.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.delete_glossary.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.delete_glossary_entry.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.delete_model.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.detect_language.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.export_data.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.get_adaptive_mt_dataset.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.get_adaptive_mt_file.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.get_dataset.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.get_glossary.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.get_glossary_entry.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.get_model.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.get_supported_languages.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.import_adaptive_mt_file.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.import_data.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_adaptive_mt_datasets.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_adaptive_mt_files.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_adaptive_mt_sentences.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_datasets.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_examples.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_glossaries.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_glossary_entries.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.list_models.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.romanize_text.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.translate_document.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.translate_text.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.update_glossary.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3/translation_service.update_glossary_entry.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.batch_translate_document.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.batch_translate_text.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.create_glossary.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.delete_glossary.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.detect_language.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.get_glossary.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.get_supported_languages.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.list_glossaries.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.translate_document.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/generated/v3beta1/translation_service.translate_text.js
View the source code.
Usage:
node packages/google-cloud-translate/samples/quickstart.js
