Skip to content

Commit

Permalink
DOC: Add privacy policy for pandas GBQ (#264)
Browse files Browse the repository at this point in the history
This is required for verification of the OAuth 2.0 consent screen.
  • Loading branch information
tswast committed Mar 25, 2019
1 parent ef768cd commit d25547e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/howto/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ See the `Getting started with authentication on Google Cloud Platform
<https://cloud.google.com/docs/authentication/getting-started>`_ guide for
more information on service accounts.

.. _authentication-user:

Authenticating with a User Account
----------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Contents:
api.rst
contributing.rst
changelog.rst
privacy.rst


Indices and tables
Expand Down
45 changes: 45 additions & 0 deletions docs/source/privacy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Privacy
=======

This package is a `PyData project <https://pydata.org/>`_ and is subject to
the `NumFocus privacy policy <https://numfocus.org/privacy-policy>`_. Your
use of Google APIs with this module is subject to each API's respective
`terms of service <https://developers.google.com/terms/>`_.

Google account and user data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Accessing user data
~~~~~~~~~~~~~~~~~~~

The :mod:`pandas_gbq` module accesses your Google user account, with
the list of `scopes
<https://developers.google.com/identity/protocols/googlescopes>`_ that you
specify. Depending on your specified list of scopes, the credentials returned
by this library may provide access to other user data, such as your email
address, Google Cloud Platform resources, Google Drive files, or Google
Sheets.

Storing user data
~~~~~~~~~~~~~~~~~

By default, your credentials are stored to a local file, such as
``~/.config/pandas_gbq/bigquery_credentials.dat``. See the
:ref:`authentication-user` guide for details. All user data is stored on
your local machine. **Use caution when using this library on a shared
machine**.

Sharing user data
~~~~~~~~~~~~~~~~~

The pandas-gbq library only communicates with Google APIs. No user
data is shared with PyData, NumFocus, or any other servers.

Policies for application authors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Do not use the default client ID when using the pandas-gbq library
from an application, library, or tool. Per the `Google User Data Policy
<https://developers.google.com/terms/api-services-user-data-policy>`_, your
application must accurately represent itself when authenticating to Google
API servcies.

0 comments on commit d25547e

Please sign in to comment.