lib/google/cloud/translate/helpers.rb in google-cloud-translate-3.0.0 vs lib/google/cloud/translate/helpers.rb in google-cloud-translate-3.0.1

- old
+ new

@@ -93,8 +93,15 @@ scope: scope, retries: retries, timeout: timeout, endpoint: endpoint end + + # Additional config keys used by V2 + configure do |config| + config.add_field! :project_id, nil, match: ::String + config.add_field! :key, nil, match: ::String + config.add_field! :retries, nil, match: ::Integer + end end end end