- Formatting updates to README.md (#26643)
- Updated minimum Ruby version to 2.7 (#24879)
- Support for universe_domain (#24268)
- Fix documentation reference (#22401)
- Support REST transport (#20524)
- Updated minimum Ruby version to 2.6 (#18443)
- Fix titles of documentation pages
- Remove some broken images and fix outdated content in authentication documentation
- Clarified some language around authentication configuration
- Expand dependencies to include future 1.x releases of versioned clients
- Drop support for Ruby 2.4 and add support for Ruby 3.0
- Drop support for Ruby 2.4 and add support for Ruby 3.0
- Clarify the role of main vs versioned clients in the readme
- Timeout config description correctly gives the units as seconds
- Declare the project_id configuration key (used by the V2 client)
This is a major update with significant new features, improved documentation, and a fair number of breaking changes.
Among the highlights:
- Separate client libraries are now provided for specific service versions.
- A new configuration mechanism makes it easier to control parameters such as endpoint address, network timeouts, and retry.
- A consistent method interface using keyword arguments for all fields, and supporting request proto objects.
- Helper methods for generating resource paths are more accessible.
See the MIGRATING file in the documentation for more detailed information, and instructions for migrating from earlier versions.
- send quota project header in the V2 client
- Support separate project setting for quota/billing
- support faraday 1.x
- Update copyright year
- Update Status documentation
- Update minimum runtime dependencies
- Fixes an issue where required dependencies may not be used.
- 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
- 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.
- Update the list of GCP environments for automatic authentication
- Support overriding of service endpoint
- Update documentation
- Make use of Credentials#project_id
- Use Credentials#project_id If a project_id is not provided, use the value on the Credentials object. This value was added in googleauth 0.7.0.
- Loosen googleauth dependency Allow for new releases up to 0.10. The googleauth devs have committed to maintaining the current API and will not make backwards compatible changes before 0.10.
- Update documentation.
- Change documentation URL to googleapis GitHub org.
- Fix circular require warning.
- Add missing documentation files to package.
- Update documentation.
- Update documentation.
- Support Shared Configuration.
- Add
Google::Cloud::Translate::Credentials
class. - Rename constructor arguments to
project_id
andcredentials
. (The previous argumentsproject
andkeyfile
are still supported.) - Document
Google::Auth::Credentials
ascredentials
value. - Updated
faraday
,googleauth
dependencies.
- Remove mention of discontinued Premium Edition billing from documentation.
- Release 1.0
- Fix error handling (adrian-gomez)
- No changes
- Change product name to Google Cloud Translation API in docs.
- Add missing googleauth dependency (frankyn)
- Support authentication with service accounts
- Add
model
parameter to translate method - Add
model
attribute to Translation objects
- New service constructor Google::Cloud::Translate.new
- Fix for timeout on uploads.
This gem contains the Google Cloud Translate service implementation for the google-cloud
gem. The google-cloud
gem replaces the old gcloud
gem. Legacy code can continue to use the gcloud
gem.
- Namespace is now
Google::Cloud
- The
google-cloud
gem is now an umbrella package for individual gems