Skip to content

Commit 7daf530

Browse files
committed
Don't promise access to '/project/list'.
1 parent 7fa364b commit 7daf530

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

docs/bigquery-usage.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,6 @@ To override the project inferred from the environment, pass an explicit
6868
>>> from gcloud import bigquery
6969
>>> client = bigquery.Client(project='PROJECT_ID')
7070

71-
If no project is known, and it is not desired to infer one from the
72-
environment, pass an explicit value of ``None`` to the constructor. Such a
73-
client can only be used to query for the list of projects to which the
74-
client's credentials has some access:
75-
76-
.. doctest::
77-
78-
>>> from gcloud import bigquery
79-
>>> client = bigquery.Client(project=None)
80-
>>> projects, next_page_token = client.list_projects() # API request
81-
>>> list(projects)
82-
['project-one', 'project-two']
83-
8471
Project ACLs
8572
~~~~~~~~~~~~
8673

0 commit comments

Comments
 (0)