Skip to content

Commit

Permalink
Regenerate the README files and fix the Open in Cloud Shell link for …
Browse files Browse the repository at this point in the history
…some samples [(#1441)](#1441)
  • Loading branch information
chenyumic authored and danoscarmike committed Jul 31, 2020
1 parent 94a75f0 commit de569d7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions translation/samples/snippets/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This directory contains samples for Google Translation API. With `Google Transla



.. _Google Translation API: https://cloud.google.com/translate/docs
.. _Google Translation API: https://cloud.google.com/translate/docs

Setup
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -59,7 +59,7 @@ Quickstart
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/quickstart.py;translate/cloud-client/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/quickstart.py,translate/cloud-client/README.rst



Expand All @@ -75,7 +75,7 @@ Snippets
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/snippets.py;translate/cloud-client/README.rst
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/snippets.py,translate/cloud-client/README.rst



Expand Down Expand Up @@ -103,8 +103,9 @@ To run this sample:
list-languages-with-target
Lists all available languages and localizes them to
the target language. Target must be an ISO 639-1
language code. See https://g.co/cloud/translate/v2
/translate-reference#supported_languages
language code. See
https://g.co/cloud/translate/v2/translate-
reference#supported_languages
translate-text Translates text into the target language. Target must
be an ISO 639-1 language code. See
https://g.co/cloud/translate/v2/translate-
Expand Down

0 comments on commit de569d7

Please sign in to comment.