Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Latest commit

 

History

History
87 lines (57 loc) · 2.41 KB

README.tmpl.rst

File metadata and controls

87 lines (57 loc) · 2.41 KB
{# The following line is a lie. BUT! Once jinja2 is done with it, it will

become truth! #}

{{product.name}} Python Samples

image

This directory contains samples for {{product.name}}. {{product.description}}

{{description}}

{% if required_api_url %} To run the sample, you need to enable the API at: {{required_api_url}} {% endif %}

{% if required_role %} To run the sample, you need to have {{required_role}} role. {% endif %}

{{other_required_steps}}

{% if setup %} Setup -------------------------------------------------------------------------------

{% for section in setup %}

{% include section + '.tmpl.rst' %}

{% endfor %} {% endif %}

{% if samples %} Samples -------------------------------------------------------------------------------

{% for sample in samples %} {{sample.name}} +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

{% if not sample.hide_cloudshell_button %} .. image:: https://gstatic.com/cloudssh/images/open-btn.png :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/python-dlp&page=editor&open_in_editor={{folder}}/{{sample.file}},{{folder}}/README.rst {% endif %}

{{sample.description}}

To run this sample:

$ python {{sample.file}}

{% if sample.show_help %}

{{get_help(sample.file)|indent}}

{% endif %}

{% endfor %} {% endif %}

{% if cloud_client_library %}

The client library

This sample uses the Google Cloud Client Library for Python. You can read the documentation for more details on API usage and use GitHub to browse the source and report issues.

{% endif %}