README.md in google-cloud-translate-v3-0.3.1 vs README.md in google-cloud-translate-v3-0.3.2
- old
+ new
@@ -31,10 +31,10 @@
```ruby
require "google/cloud/translate/v3"
client = ::Google::Cloud::Translate::V3::TranslationService::Client.new
-request = my_create_request
+request = ::Google::Cloud::Translate::V3::TranslateTextRequest.new # (request fields as keyword arguments...)
response = client.translate_text request
```
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-translate-v3/latest)
for class and method documentation.