We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
chore: update system tests and samples to use and `@google.com` email address
Re: https://github.com/googleapis/python-bigquery/pull/935#issuecomment-911791623

It may be some time before we can reconfigure our test project(s) to allow permissions for non-google.com folks.

I propose we use `cloud-developer-relations@google.com`, which is intended for interacting with the public and most Googlers who support this client are members of but don't have email enabled, so it should be less of a spam risk.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `samples/update_dataset_access.py`
Content:
```
1 # Copyright 2019 Google LLC
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     https://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 
15 
16 def update_dataset_access(dataset_id):
17 
18     # [START bigquery_update_dataset_access]
19     from google.cloud import bigquery
20 
21     # Construct a BigQuery client object.
22     client = bigquery.Client()
23 
24     # TODO(developer): Set dataset_id to the ID of the dataset to fetch.
25     # dataset_id = 'your-project.your_dataset'
26 
27     dataset = client.get_dataset(dataset_id)  # Make an API request.
28 
29     entry = bigquery.AccessEntry(
30         role="READER",
31         entity_type="userByEmail",
32         entity_id="sample.bigquery.dev@gmail.com",
33     )
34 
35     entries = list(dataset.access_entries)
36     entries.append(entry)
37     dataset.access_entries = entries
38 
39     dataset = client.update_dataset(dataset, ["access_entries"])  # Make an API request.
40 
41     full_dataset_id = "{}.{}".format(dataset.project, dataset.dataset_id)
42     print(
43         "Updated dataset '{}' with modified user permissions.".format(full_dataset_id)
44     )
45     # [END bigquery_update_dataset_access]
46
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/samples/update_dataset_access.py b/samples/update_dataset_access.py
--- a/samples/update_dataset_access.py
+++ b/samples/update_dataset_access.py
@@ -28,8 +28,8 @@
 
     entry = bigquery.AccessEntry(
         role="READER",
-        entity_type="userByEmail",
-        entity_id="sample.bigquery.dev@gmail.com",
+        entity_type="groupByEmail",
+        entity_id="cloud-developer-relations@google.com",
     )
 
     entries = list(dataset.access_entries)

{"golden_diff": "diff --git a/samples/update_dataset_access.py b/samples/update_dataset_access.py\n--- a/samples/update_dataset_access.py\n+++ b/samples/update_dataset_access.py\n@@ -28,8 +28,8 @@\n \n     entry = bigquery.AccessEntry(\n         role=\"READER\",\n-        entity_type=\"userByEmail\",\n-        entity_id=\"sample.bigquery.dev@gmail.com\",\n+        entity_type=\"groupByEmail\",\n+        entity_id=\"cloud-developer-relations@google.com\",\n     )\n \n     entries = list(dataset.access_entries)\n", "issue": "chore: update system tests and samples to use and `@google.com` email address\nRe: https://github.com/googleapis/python-bigquery/pull/935#issuecomment-911791623\r\n\r\nIt may be some time before we can reconfigure our test project(s) to allow permissions for non-google.com folks.\r\n\r\nI propose we use `cloud-developer-relations@google.com`, which is intended for interacting with the public and most Googlers who support this client are members of but don't have email enabled, so it should be less of a spam risk.\r\n\n", "before_files": [{"content": "# Copyright 2019 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\ndef update_dataset_access(dataset_id):\n\n    # [START bigquery_update_dataset_access]\n    from google.cloud import bigquery\n\n    # Construct a BigQuery client object.\n    client = bigquery.Client()\n\n    # TODO(developer): Set dataset_id to the ID of the dataset to fetch.\n    # dataset_id = 'your-project.your_dataset'\n\n    dataset = client.get_dataset(dataset_id)  # Make an API request.\n\n    entry = bigquery.AccessEntry(\n        role=\"READER\",\n        entity_type=\"userByEmail\",\n        entity_id=\"sample.bigquery.dev@gmail.com\",\n    )\n\n    entries = list(dataset.access_entries)\n    entries.append(entry)\n    dataset.access_entries = entries\n\n    dataset = client.update_dataset(dataset, [\"access_entries\"])  # Make an API request.\n\n    full_dataset_id = \"{}.{}\".format(dataset.project, dataset.dataset_id)\n    print(\n        \"Updated dataset '{}' with modified user permissions.\".format(full_dataset_id)\n    )\n    # [END bigquery_update_dataset_access]\n", "path": "samples/update_dataset_access.py"}], "after_files": [{"content": "# Copyright 2019 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\ndef update_dataset_access(dataset_id):\n\n    # [START bigquery_update_dataset_access]\n    from google.cloud import bigquery\n\n    # Construct a BigQuery client object.\n    client = bigquery.Client()\n\n    # TODO(developer): Set dataset_id to the ID of the dataset to fetch.\n    # dataset_id = 'your-project.your_dataset'\n\n    dataset = client.get_dataset(dataset_id)  # Make an API request.\n\n    entry = bigquery.AccessEntry(\n        role=\"READER\",\n        entity_type=\"groupByEmail\",\n        entity_id=\"cloud-developer-relations@google.com\",\n    )\n\n    entries = list(dataset.access_entries)\n    entries.append(entry)\n    dataset.access_entries = entries\n\n    dataset = client.update_dataset(dataset, [\"access_entries\"])  # Make an API request.\n\n    full_dataset_id = \"{}.{}\".format(dataset.project, dataset.dataset_id)\n    print(\n        \"Updated dataset '{}' with modified user permissions.\".format(full_dataset_id)\n    )\n    # [END bigquery_update_dataset_access]\n", "path": "samples/update_dataset_access.py"}]}