@@ -239,6 +239,13 @@ async def list_functions(
239239
240240 .. code-block:: python
241241
242+ # This snippet has been automatically generated and should be regarded as a
243+ # code template only.
244+ # It will require modifications to work:
245+ # - It may require correct/in-range values for request initialization.
246+ # - It may require specifying regional endpoints when creating the service
247+ # client as shown in:
248+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
242249 from google.cloud import functions_v1
243250
244251 async def sample_list_functions():
@@ -335,6 +342,13 @@ async def get_function(
335342
336343 .. code-block:: python
337344
345+ # This snippet has been automatically generated and should be regarded as a
346+ # code template only.
347+ # It will require modifications to work:
348+ # - It may require correct/in-range values for request initialization.
349+ # - It may require specifying regional endpoints when creating the service
350+ # client as shown in:
351+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
338352 from google.cloud import functions_v1
339353
340354 async def sample_get_function():
@@ -445,6 +459,13 @@ async def create_function(
445459
446460 .. code-block:: python
447461
462+ # This snippet has been automatically generated and should be regarded as a
463+ # code template only.
464+ # It will require modifications to work:
465+ # - It may require correct/in-range values for request initialization.
466+ # - It may require specifying regional endpoints when creating the service
467+ # client as shown in:
468+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
448469 from google.cloud import functions_v1
449470
450471 async def sample_create_function():
@@ -567,6 +588,13 @@ async def update_function(
567588
568589 .. code-block:: python
569590
591+ # This snippet has been automatically generated and should be regarded as a
592+ # code template only.
593+ # It will require modifications to work:
594+ # - It may require correct/in-range values for request initialization.
595+ # - It may require specifying regional endpoints when creating the service
596+ # client as shown in:
597+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
570598 from google.cloud import functions_v1
571599
572600 async def sample_update_function():
@@ -695,6 +723,13 @@ async def delete_function(
695723
696724 .. code-block:: python
697725
726+ # This snippet has been automatically generated and should be regarded as a
727+ # code template only.
728+ # It will require modifications to work:
729+ # - It may require correct/in-range values for request initialization.
730+ # - It may require specifying regional endpoints when creating the service
731+ # client as shown in:
732+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
698733 from google.cloud import functions_v1
699734
700735 async def sample_delete_function():
@@ -826,6 +861,13 @@ async def call_function(
826861
827862 .. code-block:: python
828863
864+ # This snippet has been automatically generated and should be regarded as a
865+ # code template only.
866+ # It will require modifications to work:
867+ # - It may require correct/in-range values for request initialization.
868+ # - It may require specifying regional endpoints when creating the service
869+ # client as shown in:
870+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
829871 from google.cloud import functions_v1
830872
831873 async def sample_call_function():
@@ -955,6 +997,13 @@ async def generate_upload_url(
955997
956998 .. code-block:: python
957999
1000+ # This snippet has been automatically generated and should be regarded as a
1001+ # code template only.
1002+ # It will require modifications to work:
1003+ # - It may require correct/in-range values for request initialization.
1004+ # - It may require specifying regional endpoints when creating the service
1005+ # client as shown in:
1006+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
9581007 from google.cloud import functions_v1
9591008
9601009 async def sample_generate_upload_url():
@@ -1030,6 +1079,13 @@ async def generate_download_url(
10301079
10311080 .. code-block:: python
10321081
1082+ # This snippet has been automatically generated and should be regarded as a
1083+ # code template only.
1084+ # It will require modifications to work:
1085+ # - It may require correct/in-range values for request initialization.
1086+ # - It may require specifying regional endpoints when creating the service
1087+ # client as shown in:
1088+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
10331089 from google.cloud import functions_v1
10341090
10351091 async def sample_generate_download_url():
@@ -1101,6 +1157,13 @@ async def set_iam_policy(
11011157
11021158 .. code-block:: python
11031159
1160+ # This snippet has been automatically generated and should be regarded as a
1161+ # code template only.
1162+ # It will require modifications to work:
1163+ # - It may require correct/in-range values for request initialization.
1164+ # - It may require specifying regional endpoints when creating the service
1165+ # client as shown in:
1166+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
11041167 from google.cloud import functions_v1
11051168 from google.iam.v1 import iam_policy_pb2 # type: ignore
11061169
@@ -1239,6 +1302,13 @@ async def get_iam_policy(
12391302
12401303 .. code-block:: python
12411304
1305+ # This snippet has been automatically generated and should be regarded as a
1306+ # code template only.
1307+ # It will require modifications to work:
1308+ # - It may require correct/in-range values for request initialization.
1309+ # - It may require specifying regional endpoints when creating the service
1310+ # client as shown in:
1311+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
12421312 from google.cloud import functions_v1
12431313 from google.iam.v1 import iam_policy_pb2 # type: ignore
12441314
@@ -1377,6 +1447,13 @@ async def test_iam_permissions(
13771447
13781448 .. code-block:: python
13791449
1450+ # This snippet has been automatically generated and should be regarded as a
1451+ # code template only.
1452+ # It will require modifications to work:
1453+ # - It may require correct/in-range values for request initialization.
1454+ # - It may require specifying regional endpoints when creating the service
1455+ # client as shown in:
1456+ # https://googleapis.dev/python/google-api-core/latest/client_options.html
13801457 from google.cloud import functions_v1
13811458 from google.iam.v1 import iam_policy_pb2 # type: ignore
13821459
@@ -1387,7 +1464,7 @@ async def sample_test_iam_permissions():
13871464 # Initialize request argument(s)
13881465 request = iam_policy_pb2.TestIamPermissionsRequest(
13891466 resource="resource_value",
1390- permissions=['permissions_value_1 ', 'permissions_value_2 '],
1467+ permissions=['permissions_value1 ', 'permissions_value2 '],
13911468 )
13921469
13931470 # Make the request
0 commit comments