Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

docs: connect Python Translate client library to nebulous serverless example #162

Merged
merged 9 commits into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,20 @@ Windows
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-translate
<your-env>\Scripts\pip.exe install google-cloud-translate

Samples
-----------

The `samples`_ folder contains all of the Cloud Translation API code snippets
found in `its documentation`_ as well as complete sample apps utilizing the API:

- `"Mini Google Translate MVP" Flask web app`_ (any host or Google Cloud: `App Engine`_, `Cloud Functions`_, or `Cloud Run`_)

.. _samples: samples
.. _its documentation: https://cloud.google.com/translate/docs
.. _"Mini Google Translate MVP" Flask web app: samples/cloud-nebulous-serverless-python
.. _App Engine: https://cloud.google.com/appengine
.. _Cloud Functions: https://cloud.google.com/functions
.. _Cloud Run: https://cloud.google.com/run

3 changes: 3 additions & 0 deletions samples/cloud-nebulous-serverless-python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
For a complete sample Python "mini-Google Translate" web app using the [Google Cloud Translation API](https://cloud.google.com/translate), go to <https://github.com/googlecodelabs/cloud-nebulous-serverless-python>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should move this text to the previous file (the top-level README). Placing this README leaves the important information buried within the repo and may be confusing to the customers who find it.

Additionally, I would make sure that you've added a link to your app in the official Translation documentation on CGC.


In addition to local or hosting service deployments, the app can be deployed to any of the [Google Cloud serverless](https://cloud.google.com/serverless) compute platforms, [Google App Engine](https://cloud.google.com/appengine), [Cloud Functions](https://cloud.google.com/functions), or [Cloud Run](https://cloud.google.com/run), with just minor configuration changes.