@@ -249,6 +249,13 @@ async def list_databases(
249249
250250 .. code-block:: python
251251
252+ # This snippet has been automatically generated and should be regarded as a
253+ # code template only.
254+ # It will require modifications to work:
255+ # - It may require correct/in-range values for request initialization.
256+ # - It may require specifying regional endpoints when creating the service
257+ # client as shown in:
258+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
252259 from google.cloud import spanner_admin_database_v1
253260
254261 async def sample_list_databases():
@@ -378,6 +385,13 @@ async def create_database(
378385
379386 .. code-block:: python
380387
388+ # This snippet has been automatically generated and should be regarded as a
389+ # code template only.
390+ # It will require modifications to work:
391+ # - It may require correct/in-range values for request initialization.
392+ # - It may require specifying regional endpoints when creating the service
393+ # client as shown in:
394+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
381395 from google.cloud import spanner_admin_database_v1
382396
383397 async def sample_create_database():
@@ -504,6 +518,13 @@ async def get_database(
504518
505519 .. code-block:: python
506520
521+ # This snippet has been automatically generated and should be regarded as a
522+ # code template only.
523+ # It will require modifications to work:
524+ # - It may require correct/in-range values for request initialization.
525+ # - It may require specifying regional endpoints when creating the service
526+ # client as shown in:
527+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
507528 from google.cloud import spanner_admin_database_v1
508529
509530 async def sample_get_database():
@@ -617,6 +638,13 @@ async def update_database_ddl(
617638
618639 .. code-block:: python
619640
641+ # This snippet has been automatically generated and should be regarded as a
642+ # code template only.
643+ # It will require modifications to work:
644+ # - It may require correct/in-range values for request initialization.
645+ # - It may require specifying regional endpoints when creating the service
646+ # client as shown in:
647+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
620648 from google.cloud import spanner_admin_database_v1
621649
622650 async def sample_update_database_ddl():
@@ -626,7 +654,7 @@ async def sample_update_database_ddl():
626654 # Initialize request argument(s)
627655 request = spanner_admin_database_v1.UpdateDatabaseDdlRequest(
628656 database="database_value",
629- statements=['statements_value_1 ', 'statements_value_2 '],
657+ statements=['statements_value1 ', 'statements_value2 '],
630658 )
631659
632660 # Make the request
@@ -772,6 +800,13 @@ async def drop_database(
772800
773801 .. code-block:: python
774802
803+ # This snippet has been automatically generated and should be regarded as a
804+ # code template only.
805+ # It will require modifications to work:
806+ # - It may require correct/in-range values for request initialization.
807+ # - It may require specifying regional endpoints when creating the service
808+ # client as shown in:
809+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
775810 from google.cloud import spanner_admin_database_v1
776811
777812 async def sample_drop_database():
@@ -866,6 +901,13 @@ async def get_database_ddl(
866901
867902 .. code-block:: python
868903
904+ # This snippet has been automatically generated and should be regarded as a
905+ # code template only.
906+ # It will require modifications to work:
907+ # - It may require correct/in-range values for request initialization.
908+ # - It may require specifying regional endpoints when creating the service
909+ # client as shown in:
910+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
869911 from google.cloud import spanner_admin_database_v1
870912
871913 async def sample_get_database_ddl():
@@ -980,6 +1022,13 @@ async def set_iam_policy(
9801022
9811023 .. code-block:: python
9821024
1025+ # This snippet has been automatically generated and should be regarded as a
1026+ # code template only.
1027+ # It will require modifications to work:
1028+ # - It may require correct/in-range values for request initialization.
1029+ # - It may require specifying regional endpoints when creating the service
1030+ # client as shown in:
1031+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
9831032 from google.cloud import spanner_admin_database_v1
9841033 from google.iam.v1 import iam_policy_pb2 # type: ignore
9851034
@@ -1148,6 +1197,13 @@ async def get_iam_policy(
11481197
11491198 .. code-block:: python
11501199
1200+ # This snippet has been automatically generated and should be regarded as a
1201+ # code template only.
1202+ # It will require modifications to work:
1203+ # - It may require correct/in-range values for request initialization.
1204+ # - It may require specifying regional endpoints when creating the service
1205+ # client as shown in:
1206+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
11511207 from google.cloud import spanner_admin_database_v1
11521208 from google.iam.v1 import iam_policy_pb2 # type: ignore
11531209
@@ -1327,6 +1383,13 @@ async def test_iam_permissions(
13271383
13281384 .. code-block:: python
13291385
1386+ # This snippet has been automatically generated and should be regarded as a
1387+ # code template only.
1388+ # It will require modifications to work:
1389+ # - It may require correct/in-range values for request initialization.
1390+ # - It may require specifying regional endpoints when creating the service
1391+ # client as shown in:
1392+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
13301393 from google.cloud import spanner_admin_database_v1
13311394 from google.iam.v1 import iam_policy_pb2 # type: ignore
13321395
@@ -1337,7 +1400,7 @@ async def sample_test_iam_permissions():
13371400 # Initialize request argument(s)
13381401 request = iam_policy_pb2.TestIamPermissionsRequest(
13391402 resource="resource_value",
1340- permissions=['permissions_value_1 ', 'permissions_value_2 '],
1403+ permissions=['permissions_value1 ', 'permissions_value2 '],
13411404 )
13421405
13431406 # Make the request
@@ -1450,6 +1513,13 @@ async def create_backup(
14501513
14511514 .. code-block:: python
14521515
1516+ # This snippet has been automatically generated and should be regarded as a
1517+ # code template only.
1518+ # It will require modifications to work:
1519+ # - It may require correct/in-range values for request initialization.
1520+ # - It may require specifying regional endpoints when creating the service
1521+ # client as shown in:
1522+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
14531523 from google.cloud import spanner_admin_database_v1
14541524
14551525 async def sample_create_backup():
@@ -1599,6 +1669,13 @@ async def copy_backup(
15991669
16001670 .. code-block:: python
16011671
1672+ # This snippet has been automatically generated and should be regarded as a
1673+ # code template only.
1674+ # It will require modifications to work:
1675+ # - It may require correct/in-range values for request initialization.
1676+ # - It may require specifying regional endpoints when creating the service
1677+ # client as shown in:
1678+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
16021679 from google.cloud import spanner_admin_database_v1
16031680
16041681 async def sample_copy_backup():
@@ -1751,6 +1828,13 @@ async def get_backup(
17511828
17521829 .. code-block:: python
17531830
1831+ # This snippet has been automatically generated and should be regarded as a
1832+ # code template only.
1833+ # It will require modifications to work:
1834+ # - It may require correct/in-range values for request initialization.
1835+ # - It may require specifying regional endpoints when creating the service
1836+ # client as shown in:
1837+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
17541838 from google.cloud import spanner_admin_database_v1
17551839
17561840 async def sample_get_backup():
@@ -1856,6 +1940,13 @@ async def update_backup(
18561940
18571941 .. code-block:: python
18581942
1943+ # This snippet has been automatically generated and should be regarded as a
1944+ # code template only.
1945+ # It will require modifications to work:
1946+ # - It may require correct/in-range values for request initialization.
1947+ # - It may require specifying regional endpoints when creating the service
1948+ # client as shown in:
1949+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
18591950 from google.cloud import spanner_admin_database_v1
18601951
18611952 async def sample_update_backup():
@@ -1979,6 +2070,13 @@ async def delete_backup(
19792070
19802071 .. code-block:: python
19812072
2073+ # This snippet has been automatically generated and should be regarded as a
2074+ # code template only.
2075+ # It will require modifications to work:
2076+ # - It may require correct/in-range values for request initialization.
2077+ # - It may require specifying regional endpoints when creating the service
2078+ # client as shown in:
2079+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
19822080 from google.cloud import spanner_admin_database_v1
19832081
19842082 async def sample_delete_backup():
@@ -2075,6 +2173,13 @@ async def list_backups(
20752173
20762174 .. code-block:: python
20772175
2176+ # This snippet has been automatically generated and should be regarded as a
2177+ # code template only.
2178+ # It will require modifications to work:
2179+ # - It may require correct/in-range values for request initialization.
2180+ # - It may require specifying regional endpoints when creating the service
2181+ # client as shown in:
2182+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
20782183 from google.cloud import spanner_admin_database_v1
20792184
20802185 async def sample_list_backups():
@@ -2213,6 +2318,13 @@ async def restore_database(
22132318
22142319 .. code-block:: python
22152320
2321+ # This snippet has been automatically generated and should be regarded as a
2322+ # code template only.
2323+ # It will require modifications to work:
2324+ # - It may require correct/in-range values for request initialization.
2325+ # - It may require specifying regional endpoints when creating the service
2326+ # client as shown in:
2327+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
22162328 from google.cloud import spanner_admin_database_v1
22172329
22182330 async def sample_restore_database():
@@ -2361,6 +2473,13 @@ async def list_database_operations(
23612473
23622474 .. code-block:: python
23632475
2476+ # This snippet has been automatically generated and should be regarded as a
2477+ # code template only.
2478+ # It will require modifications to work:
2479+ # - It may require correct/in-range values for request initialization.
2480+ # - It may require specifying regional endpoints when creating the service
2481+ # client as shown in:
2482+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
23642483 from google.cloud import spanner_admin_database_v1
23652484
23662485 async def sample_list_database_operations():
@@ -2491,6 +2610,13 @@ async def list_backup_operations(
24912610
24922611 .. code-block:: python
24932612
2613+ # This snippet has been automatically generated and should be regarded as a
2614+ # code template only.
2615+ # It will require modifications to work:
2616+ # - It may require correct/in-range values for request initialization.
2617+ # - It may require specifying regional endpoints when creating the service
2618+ # client as shown in:
2619+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
24942620 from google.cloud import spanner_admin_database_v1
24952621
24962622 async def sample_list_backup_operations():
@@ -2610,6 +2736,13 @@ async def list_database_roles(
26102736
26112737 .. code-block:: python
26122738
2739+ # This snippet has been automatically generated and should be regarded as a
2740+ # code template only.
2741+ # It will require modifications to work:
2742+ # - It may require correct/in-range values for request initialization.
2743+ # - It may require specifying regional endpoints when creating the service
2744+ # client as shown in:
2745+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
26132746 from google.cloud import spanner_admin_database_v1
26142747
26152748 async def sample_list_database_roles():
0 commit comments