Skip to content

Commit

Permalink
Update and add Cloud KMS samples (#3690)
Browse files Browse the repository at this point in the history
This updates the Cloud KMS samples to match the format from the other 6
languages. It also updates the samples to note the workaround for
googleapis/gapic-generator-python#364.
  • Loading branch information
sethvargo authored May 5, 2020
1 parent cf0fcc0 commit 32777eb
Show file tree
Hide file tree
Showing 42 changed files with 2,148 additions and 1,016 deletions.
16 changes: 1 addition & 15 deletions kms/api-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,6 @@ To run this sample:
$ python quickstart.py
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=kms/api-client/snippets.py,kms/api-client/README.rst




To run this sample:

.. code-block:: bash
$ python snippets.py
.. _Google Cloud SDK: https://cloud.google.com/sdk/
.. _Google Cloud SDK: https://cloud.google.com/sdk/
5 changes: 0 additions & 5 deletions kms/api-client/README.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,5 @@ setup:
samples:
- name: Quickstart
file: quickstart.py
- name: Snippets
file: snippets.py
show_help: True
- name: Asymmetric
file: asymmetric.py

folder: kms/api-client
219 changes: 0 additions & 219 deletions kms/api-client/asymmetric.py

This file was deleted.

133 changes: 0 additions & 133 deletions kms/api-client/asymmetric_test.py

This file was deleted.

Loading

0 comments on commit 32777eb

Please sign in to comment.