@@ -95,29 +95,31 @@ quickly (but at an `increased cost
9595<https://cloud.google.com/bigquery/pricing#storage-api> `__) by setting
9696``use_bqstorage_api `` to ``True ``.
9797
98- 1. Enable the BigQuery Storage API on the project you are using to run
99- queries.
98+ #. Enable the BigQuery Storage API on the project you are using to run
99+ queries.
100100
101- `Enable the API
102- <https://console.cloud.google.com/apis/library/bigquerystorage.googleapis.com> `__.
103- 2. Ensure you have the `* bigquery.readsessions.create permission*
104- <https://cloud.google.com/bigquery/docs/access-control#bq-permissions> `__. to
105- create BigQuery Storage API read sessions. This permission is provided by
106- the `* bigquery.user* role
107- <https://cloud.google.com/bigquery/docs/access-control#roles> `__.
108- 4. Install the ``google-cloud-bigquery-storage ``, ``fastavro ``, and
109- ``python-snappy `` packages.
101+ `Enable the API
102+ <https://console.cloud.google.com/apis/library/bigquerystorage.googleapis.com> `__.
103+ #. Ensure you have the `bigquery.readsessions.create permission
104+ <https://cloud.google.com/bigquery/docs/access-control#bq-permissions> `__. to
105+ create BigQuery Storage API read sessions. This permission is provided by
106+ the `bigquery.user role
107+ <https://cloud.google.com/bigquery/docs/access-control#roles> `__.
108+ #. Install the ``google-cloud-bigquery-storage ``, ``fastavro ``, and
109+ ``python-snappy `` packages.
110110
111- With pip:
111+ With pip:
112112
113- .. code-block:: sh
113+ .. code-block :: sh
114114
115- pip install --upgrade google-cloud-bigquery-storage fastavro python-snappy
115+ pip install --upgrade google-cloud-bigquery-storage fastavro python-snappy
116116
117- With conda:
117+ With conda:
118118
119- conda install -c conda-forge google-cloud-bigquery-storage fastavro python-snappy
120- 4. Set ``use_bqstorage_api `` to ``True `` when calling the
119+ .. code-block :: sh
120+
121+ conda install -c conda-forge google-cloud-bigquery-storage fastavro python-snappy
122+ #. Set ``use_bqstorage_api `` to ``True `` when calling the
121123 :func: `~pandas_gbq.read_gbq ` function. As of the ``google-cloud-bigquery ``
122124 package, version 1.11.1 or later,the function will fallback to the
123125 BigQuery API if the BigQuery Storage API cannot be used, such as with
0 commit comments