{"blog_title":"bitop\u2019s diary","author_name":"bitop","title":"Google Cloud Platform\u3067\u306f\u3058\u3081\u308b\u6a5f\u68b0\u5b66\u7fd2\u3068\u6df1\u5c64\u5b66\u7fd2\u3092\u8aad\u3080","categories":[],"url":"https://bitop.hatenablog.com/entry/2017/12/26/173953","height":"190","blog_url":"https://bitop.hatenablog.com/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/bitop/20171226/20171226173932.png","author_url":"https://blog.hatena.ne.jp/bitop/","description":"3-3 Cloud Translation API 3-3-2 \u65e5\u672c\u8a9e\u3092\u82f1\u8a9e\u306b\u7ffb\u8a33 # \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30ed\u30fc\u30c9 from google.cloud import translate # \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210 translate_client = translate.Client() # \u7ffb\u8a33\u3057\u305f\u3044\u6587\u7ae0 text = u'GCP\u3067\u6a5f\u68b0\u5b66\u7fd2\u304c\u7c21\u5358\u306b\u5b66\u3079\u307e\u3057\u305f\u3002' # \u7ffb\u8a33\u5148\u8a00\u8a9e target = 'en' # API\u3092\u5b9f\u884c translation = translate_client.translate( text, target_language=target) print(\u2026","version":"1.0","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitop.hatenablog.com%2Fentry%2F2017%2F12%2F26%2F173953\" title=\"Google Cloud Platform\u3067\u306f\u3058\u3081\u308b\u6a5f\u68b0\u5b66\u7fd2\u3068\u6df1\u5c64\u5b66\u7fd2\u3092\u8aad\u3080 - bitop\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","published":"2017-12-26 17:39:53","provider_url":"https://hatena.blog","type":"rich"}