Releases
google-cloud-translate/v2.0.0
Release google-cloud-translate 2.0.0
⚠ BREAKING CHANGES
Add Translate V3 client
Update google-cloud-translate to contain a generated v3 client
as well as the legacy hand-written v2 client.
The following methods now return an instance of
Google::Cloud::Translate::V3::TranslationServiceClient:
Google::Cloud#translate
Google::Cloud.translate
Google::Cloud::Translate.new
To use the legacy v2 client specify the version when creating:
v2_client = Google::Cloud::Translate.new version: :v2
Features
Add Translate V3 client
The v3 client includes several new features and updates:
Glossaries - Create a custom dictionary to correctly and
consistently translate terms that are customer-specific.
Batch requests - Make an asynchronous request to translate
large amounts of text.
AutoML models - Cloud Translation adds support for translating
text with custom models that you create using AutoML Translation.
Labels - The Cloud Translation API supports adding user-defined
labels (key-value pairs) to requests.
Now requires Ruby 2.4 or later.
Documentation
Update the list of GCP environments for automatic authentication
You can’t perform that action at this time.