lib/google/cloud/translate/service.rb in google-cloud-translate-0.20.1 vs lib/google/cloud/translate/service.rb in google-cloud-translate-0.21.0
- old
+ new
@@ -32,10 +32,10 @@
##
# Creates a new Service instance.
def initialize key, retries: nil, timeout: nil
@service = API::TranslateService.new
- @service.client_options.application_name = "google-cloud-translate"
+ @service.client_options.application_name = "gcloud-ruby"
@service.client_options.application_version = \
Google::Cloud::Translate::VERSION
@service.request_options.retries = retries || 3
@service.request_options.timeout_sec = timeout
@service.request_options.open_timeout_sec = timeout