Skip to content

Commit

Permalink
Update and add Cloud KMS samples [(#3690)](#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 and rsamborski committed Nov 8, 2022
1 parent 11cb13c commit 4e7650b
Show file tree
Hide file tree
Showing 39 changed files with 2,069 additions and 1,012 deletions.
16 changes: 1 addition & 15 deletions kms/snippets/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/snippets/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/snippets/asymmetric.py

This file was deleted.

133 changes: 0 additions & 133 deletions kms/snippets/asymmetric_test.py

This file was deleted.

Loading

0 comments on commit 4e7650b

Please sign in to comment.