[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["| **Note:** Google provides the Cloud Translation API client library for Ruby as a single package for both Cloud Translation - Advanced and Cloud Translation - Basic. This page describes how to install the client library for Cloud Translation - Advanced. To use the client library for Cloud Translation - Basic, see the [installation instructions](/translate/docs/reference/libraries/v2/ruby).\n\n\nThis page provides reference documentation and related resources for the\nCloud Translation Ruby client library.\n\n| Resource | Description |\n|---------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [Library reference](https://googleapis.dev/ruby/google-cloud-translate/latest/Google/Cloud/Translate/V3.html) | Cloud Translation Ruby library reference |\n| [Language guide](https://cloud.google.com/ruby/docs/) | General guide for using Ruby with GCP |\n| [GitHub repository](https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-translate) | Source code and additional documentation for this library |\n| [Quickstart](/translate/docs/advanced/translate-text-advance) | Introduction to using this library |\n| [Stack Overflow](http://stackoverflow.com/search?q=%5Bgoogle-translate%5D+%5Bruby%5D) | Questions tagged with Cloud Translation and Ruby |\n\nInstallation\n\n\nTo install the client library:\n\n\nFor more on setting up your Ruby development environment, refer to the\n[Ruby Development Environment Setup Guide](/ruby/docs/setup).\n\n```\ngem install google-cloud-translate\n```\n\nUsing the client library\n\nTo use the Ruby client library for Cloud Translation - Advanced, you must\ninstantiate the Cloud Translation API client as follows: \n\n```ruby\nclient = Google::Cloud::Translate.new\n```\n\nSee how to\n[translate text](/translate/docs/advanced/translating-text-v3#translating_text)\nfor additional usage details."]]