Index: generated/googleapis/lib/translate/v2.dart |
diff --git a/generated/googleapis/lib/translate/v2.dart b/generated/googleapis/lib/translate/v2.dart |
index fa6e34b97ecb037917f64aea3098f858a5e526bf..8ec23bdece77413deed18fd7d55fac818cc3a258 100644 |
--- a/generated/googleapis/lib/translate/v2.dart |
+++ b/generated/googleapis/lib/translate/v2.dart |
@@ -22,8 +22,8 @@ class TranslateApi { |
LanguagesResourceApi get languages => new LanguagesResourceApi(_requester); |
TranslationsResourceApi get translations => new TranslationsResourceApi(_requester); |
- TranslateApi(http.Client client) : |
- _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "language/translate/"); |
+ TranslateApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "language/translate/"}) : |
+ _requester = new common_internal.ApiRequester(client, rootUrl, servicePath); |
} |