Skip to content

Commit d3a0e8a

Browse files
chore: Bump gapic-generator-python version to 1.3.0 (#209)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: googleapis/googleapis-gen@4313d68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
1 parent af6bee9 commit d3a0e8a

File tree

47 files changed

+961
-401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+961
-401
lines changed

packages/google-cloud-network-connectivity/google/cloud/networkconnectivity_v1/services/hub_service/async_client.py

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,13 @@ async def list_hubs(
236236
237237
.. code-block:: python
238238
239+
# This snippet has been automatically generated and should be regarded as a
240+
# code template only.
241+
# It will require modifications to work:
242+
# - It may require correct/in-range values for request initialization.
243+
# - It may require specifying regional endpoints when creating the service
244+
# client as shown in:
245+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
239246
from google.cloud import networkconnectivity_v1
240247
241248
async def sample_list_hubs():
@@ -344,6 +351,13 @@ async def get_hub(
344351
345352
.. code-block:: python
346353
354+
# This snippet has been automatically generated and should be regarded as a
355+
# code template only.
356+
# It will require modifications to work:
357+
# - It may require correct/in-range values for request initialization.
358+
# - It may require specifying regional endpoints when creating the service
359+
# client as shown in:
360+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
347361
from google.cloud import networkconnectivity_v1
348362
349363
async def sample_get_hub():
@@ -449,6 +463,13 @@ async def create_hub(
449463
450464
.. code-block:: python
451465
466+
# This snippet has been automatically generated and should be regarded as a
467+
# code template only.
468+
# It will require modifications to work:
469+
# - It may require correct/in-range values for request initialization.
470+
# - It may require specifying regional endpoints when creating the service
471+
# client as shown in:
472+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
452473
from google.cloud import networkconnectivity_v1
453474
454475
async def sample_create_hub():
@@ -583,6 +604,13 @@ async def update_hub(
583604
584605
.. code-block:: python
585606
607+
# This snippet has been automatically generated and should be regarded as a
608+
# code template only.
609+
# It will require modifications to work:
610+
# - It may require correct/in-range values for request initialization.
611+
# - It may require specifying regional endpoints when creating the service
612+
# client as shown in:
613+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
586614
from google.cloud import networkconnectivity_v1
587615
588616
async def sample_update_hub():
@@ -710,6 +738,13 @@ async def delete_hub(
710738
711739
.. code-block:: python
712740
741+
# This snippet has been automatically generated and should be regarded as a
742+
# code template only.
743+
# It will require modifications to work:
744+
# - It may require correct/in-range values for request initialization.
745+
# - It may require specifying regional endpoints when creating the service
746+
# client as shown in:
747+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
713748
from google.cloud import networkconnectivity_v1
714749
715750
async def sample_delete_hub():
@@ -828,6 +863,13 @@ async def list_spokes(
828863
829864
.. code-block:: python
830865
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
831873
from google.cloud import networkconnectivity_v1
832874
833875
async def sample_list_spokes():
@@ -934,6 +976,13 @@ async def get_spoke(
934976
935977
.. code-block:: python
936978
979+
# This snippet has been automatically generated and should be regarded as a
980+
# code template only.
981+
# It will require modifications to work:
982+
# - It may require correct/in-range values for request initialization.
983+
# - It may require specifying regional endpoints when creating the service
984+
# client as shown in:
985+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
937986
from google.cloud import networkconnectivity_v1
938987
939988
async def sample_get_spoke():
@@ -1040,6 +1089,13 @@ async def create_spoke(
10401089
10411090
.. code-block:: python
10421091
1092+
# This snippet has been automatically generated and should be regarded as a
1093+
# code template only.
1094+
# It will require modifications to work:
1095+
# - It may require correct/in-range values for request initialization.
1096+
# - It may require specifying regional endpoints when creating the service
1097+
# client as shown in:
1098+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10431099
from google.cloud import networkconnectivity_v1
10441100
10451101
async def sample_create_spoke():
@@ -1175,6 +1231,13 @@ async def update_spoke(
11751231
11761232
.. code-block:: python
11771233
1234+
# This snippet has been automatically generated and should be regarded as a
1235+
# code template only.
1236+
# It will require modifications to work:
1237+
# - It may require correct/in-range values for request initialization.
1238+
# - It may require specifying regional endpoints when creating the service
1239+
# client as shown in:
1240+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11781241
from google.cloud import networkconnectivity_v1
11791242
11801243
async def sample_update_spoke():
@@ -1307,6 +1370,13 @@ async def delete_spoke(
13071370
13081371
.. code-block:: python
13091372
1373+
# This snippet has been automatically generated and should be regarded as a
1374+
# code template only.
1375+
# It will require modifications to work:
1376+
# - It may require correct/in-range values for request initialization.
1377+
# - It may require specifying regional endpoints when creating the service
1378+
# client as shown in:
1379+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13101380
from google.cloud import networkconnectivity_v1
13111381
13121382
async def sample_delete_spoke():

packages/google-cloud-network-connectivity/google/cloud/networkconnectivity_v1/services/hub_service/client.py

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,13 @@ def list_hubs(
555555
556556
.. code-block:: python
557557
558+
# This snippet has been automatically generated and should be regarded as a
559+
# code template only.
560+
# It will require modifications to work:
561+
# - It may require correct/in-range values for request initialization.
562+
# - It may require specifying regional endpoints when creating the service
563+
# client as shown in:
564+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
558565
from google.cloud import networkconnectivity_v1
559566
560567
def sample_list_hubs():
@@ -663,6 +670,13 @@ def get_hub(
663670
664671
.. code-block:: python
665672
673+
# This snippet has been automatically generated and should be regarded as a
674+
# code template only.
675+
# It will require modifications to work:
676+
# - It may require correct/in-range values for request initialization.
677+
# - It may require specifying regional endpoints when creating the service
678+
# client as shown in:
679+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
666680
from google.cloud import networkconnectivity_v1
667681
668682
def sample_get_hub():
@@ -768,6 +782,13 @@ def create_hub(
768782
769783
.. code-block:: python
770784
785+
# This snippet has been automatically generated and should be regarded as a
786+
# code template only.
787+
# It will require modifications to work:
788+
# - It may require correct/in-range values for request initialization.
789+
# - It may require specifying regional endpoints when creating the service
790+
# client as shown in:
791+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
771792
from google.cloud import networkconnectivity_v1
772793
773794
def sample_create_hub():
@@ -902,6 +923,13 @@ def update_hub(
902923
903924
.. code-block:: python
904925
926+
# This snippet has been automatically generated and should be regarded as a
927+
# code template only.
928+
# It will require modifications to work:
929+
# - It may require correct/in-range values for request initialization.
930+
# - It may require specifying regional endpoints when creating the service
931+
# client as shown in:
932+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
905933
from google.cloud import networkconnectivity_v1
906934
907935
def sample_update_hub():
@@ -1029,6 +1057,13 @@ def delete_hub(
10291057
10301058
.. code-block:: python
10311059
1060+
# This snippet has been automatically generated and should be regarded as a
1061+
# code template only.
1062+
# It will require modifications to work:
1063+
# - It may require correct/in-range values for request initialization.
1064+
# - It may require specifying regional endpoints when creating the service
1065+
# client as shown in:
1066+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10321067
from google.cloud import networkconnectivity_v1
10331068
10341069
def sample_delete_hub():
@@ -1147,6 +1182,13 @@ def list_spokes(
11471182
11481183
.. code-block:: python
11491184
1185+
# This snippet has been automatically generated and should be regarded as a
1186+
# code template only.
1187+
# It will require modifications to work:
1188+
# - It may require correct/in-range values for request initialization.
1189+
# - It may require specifying regional endpoints when creating the service
1190+
# client as shown in:
1191+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11501192
from google.cloud import networkconnectivity_v1
11511193
11521194
def sample_list_spokes():
@@ -1253,6 +1295,13 @@ def get_spoke(
12531295
12541296
.. code-block:: python
12551297
1298+
# This snippet has been automatically generated and should be regarded as a
1299+
# code template only.
1300+
# It will require modifications to work:
1301+
# - It may require correct/in-range values for request initialization.
1302+
# - It may require specifying regional endpoints when creating the service
1303+
# client as shown in:
1304+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12561305
from google.cloud import networkconnectivity_v1
12571306
12581307
def sample_get_spoke():
@@ -1359,6 +1408,13 @@ def create_spoke(
13591408
13601409
.. code-block:: python
13611410
1411+
# This snippet has been automatically generated and should be regarded as a
1412+
# code template only.
1413+
# It will require modifications to work:
1414+
# - It may require correct/in-range values for request initialization.
1415+
# - It may require specifying regional endpoints when creating the service
1416+
# client as shown in:
1417+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13621418
from google.cloud import networkconnectivity_v1
13631419
13641420
def sample_create_spoke():
@@ -1494,6 +1550,13 @@ def update_spoke(
14941550
14951551
.. code-block:: python
14961552
1553+
# This snippet has been automatically generated and should be regarded as a
1554+
# code template only.
1555+
# It will require modifications to work:
1556+
# - It may require correct/in-range values for request initialization.
1557+
# - It may require specifying regional endpoints when creating the service
1558+
# client as shown in:
1559+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
14971560
from google.cloud import networkconnectivity_v1
14981561
14991562
def sample_update_spoke():
@@ -1626,6 +1689,13 @@ def delete_spoke(
16261689
16271690
.. code-block:: python
16281691
1692+
# This snippet has been automatically generated and should be regarded as a
1693+
# code template only.
1694+
# It will require modifications to work:
1695+
# - It may require correct/in-range values for request initialization.
1696+
# - It may require specifying regional endpoints when creating the service
1697+
# client as shown in:
1698+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
16291699
from google.cloud import networkconnectivity_v1
16301700
16311701
def sample_delete_spoke():

0 commit comments

Comments
 (0)