@@ -218,6 +218,13 @@ async def list_nodes(
218218
219219 .. code-block:: python
220220
221+ # This snippet has been automatically generated and should be regarded as a
222+ # code template only.
223+ # It will require modifications to work:
224+ # - It may require correct/in-range values for request initialization.
225+ # - It may require specifying regional endpoints when creating the service
226+ # client as shown in:
227+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
221228 from google.cloud import tpu_v1
222229
223230 async def sample_list_nodes():
@@ -324,6 +331,13 @@ async def get_node(
324331
325332 .. code-block:: python
326333
334+ # This snippet has been automatically generated and should be regarded as a
335+ # code template only.
336+ # It will require modifications to work:
337+ # - It may require correct/in-range values for request initialization.
338+ # - It may require specifying regional endpoints when creating the service
339+ # client as shown in:
340+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
327341 from google.cloud import tpu_v1
328342
329343 async def sample_get_node():
@@ -417,6 +431,13 @@ async def create_node(
417431
418432 .. code-block:: python
419433
434+ # This snippet has been automatically generated and should be regarded as a
435+ # code template only.
436+ # It will require modifications to work:
437+ # - It may require correct/in-range values for request initialization.
438+ # - It may require specifying regional endpoints when creating the service
439+ # client as shown in:
440+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
420441 from google.cloud import tpu_v1
421442
422443 async def sample_create_node():
@@ -543,6 +564,13 @@ async def delete_node(
543564
544565 .. code-block:: python
545566
567+ # This snippet has been automatically generated and should be regarded as a
568+ # code template only.
569+ # It will require modifications to work:
570+ # - It may require correct/in-range values for request initialization.
571+ # - It may require specifying regional endpoints when creating the service
572+ # client as shown in:
573+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
546574 from google.cloud import tpu_v1
547575
548576 async def sample_delete_node():
@@ -649,6 +677,13 @@ async def reimage_node(
649677
650678 .. code-block:: python
651679
680+ # This snippet has been automatically generated and should be regarded as a
681+ # code template only.
682+ # It will require modifications to work:
683+ # - It may require correct/in-range values for request initialization.
684+ # - It may require specifying regional endpoints when creating the service
685+ # client as shown in:
686+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
652687 from google.cloud import tpu_v1
653688
654689 async def sample_reimage_node():
@@ -735,6 +770,13 @@ async def stop_node(
735770
736771 .. code-block:: python
737772
773+ # This snippet has been automatically generated and should be regarded as a
774+ # code template only.
775+ # It will require modifications to work:
776+ # - It may require correct/in-range values for request initialization.
777+ # - It may require specifying regional endpoints when creating the service
778+ # client as shown in:
779+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
738780 from google.cloud import tpu_v1
739781
740782 async def sample_stop_node():
@@ -821,6 +863,13 @@ async def start_node(
821863
822864 .. code-block:: python
823865
866+ # This snippet has been automatically generated and should be regarded as a
867+ # code template only.
868+ # It will require modifications to work:
869+ # - It may require correct/in-range values for request initialization.
870+ # - It may require specifying regional endpoints when creating the service
871+ # client as shown in:
872+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
824873 from google.cloud import tpu_v1
825874
826875 async def sample_start_node():
@@ -908,6 +957,13 @@ async def list_tensor_flow_versions(
908957
909958 .. code-block:: python
910959
960+ # This snippet has been automatically generated and should be regarded as a
961+ # code template only.
962+ # It will require modifications to work:
963+ # - It may require correct/in-range values for request initialization.
964+ # - It may require specifying regional endpoints when creating the service
965+ # client as shown in:
966+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
911967 from google.cloud import tpu_v1
912968
913969 async def sample_list_tensor_flow_versions():
@@ -1014,6 +1070,13 @@ async def get_tensor_flow_version(
10141070
10151071 .. code-block:: python
10161072
1073+ # This snippet has been automatically generated and should be regarded as a
1074+ # code template only.
1075+ # It will require modifications to work:
1076+ # - It may require correct/in-range values for request initialization.
1077+ # - It may require specifying regional endpoints when creating the service
1078+ # client as shown in:
1079+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
10171080 from google.cloud import tpu_v1
10181081
10191082 async def sample_get_tensor_flow_version():
@@ -1107,6 +1170,13 @@ async def list_accelerator_types(
11071170
11081171 .. code-block:: python
11091172
1173+ # This snippet has been automatically generated and should be regarded as a
1174+ # code template only.
1175+ # It will require modifications to work:
1176+ # - It may require correct/in-range values for request initialization.
1177+ # - It may require specifying regional endpoints when creating the service
1178+ # client as shown in:
1179+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
11101180 from google.cloud import tpu_v1
11111181
11121182 async def sample_list_accelerator_types():
@@ -1213,6 +1283,13 @@ async def get_accelerator_type(
12131283
12141284 .. code-block:: python
12151285
1286+ # This snippet has been automatically generated and should be regarded as a
1287+ # code template only.
1288+ # It will require modifications to work:
1289+ # - It may require correct/in-range values for request initialization.
1290+ # - It may require specifying regional endpoints when creating the service
1291+ # client as shown in:
1292+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
12161293 from google.cloud import tpu_v1
12171294
12181295 async def sample_get_accelerator_type():
0 commit comments