static TextResponse TranslateText(Configuration conf)
        {
            // add text for translation and language pair
            string pair = "en-fr";
            string text = "Welcome to Paris";

            TranslationApi       api      = new TranslationApi(conf);
            TranslateTextRequest request  = api.CreateTextRequest(pair, text);
            TextResponse         response = api.RunTranslationTextTask(request);

            return(response);
        }