Skip to content

Commit c91f70c

Browse files
authored
docs: add remote model requirements (#333)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #320775961 🦕
1 parent c7aa1af commit c91f70c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.rst

+17
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,23 @@ following IAM roles:
309309
* Storage Object Viewer (roles/storage.objectViewer)
310310
* Project IAM Admin (roles/resourcemanager.projectIamAdmin)
311311

312+
To use BigQuery DataFrames ML remote models(bigframes.ml.remote or bigframes.ml.llm), you must enable the following APIs:
313+
314+
* The BigQuery API (bigquery.googleapis.com)
315+
* The BigQuery Connection API (bigqueryconnection.googleapis.com)
316+
* The Vertex AI API (aiplatform.googleapis.com)
317+
318+
To use BigQuery DataFrames ML remote models(bigframes.ml.remote or bigframes.ml.llm), you must be granted the
319+
following IAM roles:
320+
321+
* BigQuery Data Editor (roles/bigquery.dataEditor)
322+
* BigQuery Connection Admin (roles/bigquery.connectionAdmin)
323+
* Service Account User (roles/iam.serviceAccountUser) on the
324+
`service account <https://cloud.google.com/functions/docs/reference/iam/roles#additional-configuration>`__
325+
326+
* Vertex AI User (roles/aiplatform.user)
327+
* Project IAM Admin (roles/resourcemanager.projectIamAdmin)
328+
312329
**Limitations**
313330

314331
* Remote functions take about 90 seconds to become available when you first create them.

0 commit comments

Comments
 (0)