Skip to content

Commit d25547e

Browse files
authored
DOC: Add privacy policy for pandas GBQ (#264)
This is required for verification of the OAuth 2.0 consent screen.
1 parent ef768cd commit d25547e

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

docs/source/howto/authentication.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ See the `Getting started with authentication on Google Cloud Platform
7676
<https://cloud.google.com/docs/authentication/getting-started>`_ guide for
7777
more information on service accounts.
7878

79+
.. _authentication-user:
7980

8081
Authenticating with a User Account
8182
----------------------------------

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Contents:
4040
api.rst
4141
contributing.rst
4242
changelog.rst
43+
privacy.rst
4344

4445

4546
Indices and tables

docs/source/privacy.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Privacy
2+
=======
3+
4+
This package is a `PyData project <https://pydata.org/>`_ and is subject to
5+
the `NumFocus privacy policy <https://numfocus.org/privacy-policy>`_. Your
6+
use of Google APIs with this module is subject to each API's respective
7+
`terms of service <https://developers.google.com/terms/>`_.
8+
9+
Google account and user data
10+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11+
12+
Accessing user data
13+
~~~~~~~~~~~~~~~~~~~
14+
15+
The :mod:`pandas_gbq` module accesses your Google user account, with
16+
the list of `scopes
17+
<https://developers.google.com/identity/protocols/googlescopes>`_ that you
18+
specify. Depending on your specified list of scopes, the credentials returned
19+
by this library may provide access to other user data, such as your email
20+
address, Google Cloud Platform resources, Google Drive files, or Google
21+
Sheets.
22+
23+
Storing user data
24+
~~~~~~~~~~~~~~~~~
25+
26+
By default, your credentials are stored to a local file, such as
27+
``~/.config/pandas_gbq/bigquery_credentials.dat``. See the
28+
:ref:`authentication-user` guide for details. All user data is stored on
29+
your local machine. **Use caution when using this library on a shared
30+
machine**.
31+
32+
Sharing user data
33+
~~~~~~~~~~~~~~~~~
34+
35+
The pandas-gbq library only communicates with Google APIs. No user
36+
data is shared with PyData, NumFocus, or any other servers.
37+
38+
Policies for application authors
39+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40+
41+
Do not use the default client ID when using the pandas-gbq library
42+
from an application, library, or tool. Per the `Google User Data Policy
43+
<https://developers.google.com/terms/api-services-user-data-policy>`_, your
44+
application must accurately represent itself when authenticating to Google
45+
API servcies.

0 commit comments

Comments
 (0)