Skip to content
37 changes: 37 additions & 0 deletions translate/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,43 @@ To run this sample:



Beta 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/beta_snippets.py,translate/cloud-client/README.rst




To run this sample:

.. code-block:: bash

$ python beta_snippets.py

usage: beta_snippets.py [-h]
{translate-text,batch-translate-text,detect-language,list-languages,list-languages-with-target,create-glossary,get-glossary,list-glossaries,delete-glossary,translate-with-glossary}
...

positional arguments:
{translate-text,batch-translate-text,detect-language,list-languages,list-languages-with-target,create-glossary,get-glossary,list-glossaries,delete-glossary,translate-with-glossary}
translate-text
batch-translate-text
detect-language
list-languages
list-languages-with-target
create-glossary
get-glossary
list-glossaries
delete-glossary
translate-with-glossary

optional arguments:
-h, --help show this help message and exit





The client library
Expand Down
3 changes: 3 additions & 0 deletions translate/cloud-client/README.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ samples:
- name: Snippets
file: snippets.py
show_help: true
- name: Beta Snippets
file: beta_snippets.py
show_help: true

cloud_client_library: true

Expand Down
Loading