Skip to content

Commit 6e75196

Browse files
chore: use gapic-generator-python 0.63.4 (#126)
* chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: googleapis/googleapis-gen@ca893ff Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
1 parent d20b9f2 commit 6e75196

File tree

46 files changed

+200
-220
lines changed

Some content is hidden

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

46 files changed

+200
-220
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ async def list_hubs(
232232
) -> pagers.ListHubsAsyncPager:
233233
r"""Lists hubs in a given project.
234234
235-
.. code-block::
235+
.. code-block:: python
236236
237237
from google.cloud import networkconnectivity_v1
238238
@@ -332,7 +332,7 @@ async def get_hub(
332332
) -> hub.Hub:
333333
r"""Gets details about the specified hub.
334334
335-
.. code-block::
335+
.. code-block:: python
336336
337337
from google.cloud import networkconnectivity_v1
338338
@@ -432,7 +432,7 @@ async def create_hub(
432432
) -> operation_async.AsyncOperation:
433433
r"""Creates a new hub in the specified project.
434434
435-
.. code-block::
435+
.. code-block:: python
436436
437437
from google.cloud import networkconnectivity_v1
438438
@@ -562,7 +562,7 @@ async def update_hub(
562562
specified hub.
563563
564564
565-
.. code-block::
565+
.. code-block:: python
566566
567567
from google.cloud import networkconnectivity_v1
568568
@@ -684,7 +684,7 @@ async def delete_hub(
684684
) -> operation_async.AsyncOperation:
685685
r"""Deletes the specified hub.
686686
687-
.. code-block::
687+
.. code-block:: python
688688
689689
from google.cloud import networkconnectivity_v1
690690
@@ -801,7 +801,7 @@ async def list_spokes(
801801
location.
802802
803803
804-
.. code-block::
804+
.. code-block:: python
805805
806806
from google.cloud import networkconnectivity_v1
807807
@@ -899,7 +899,7 @@ async def get_spoke(
899899
) -> hub.Spoke:
900900
r"""Gets details about the specified spoke.
901901
902-
.. code-block::
902+
.. code-block:: python
903903
904904
from google.cloud import networkconnectivity_v1
905905
@@ -1001,7 +1001,7 @@ async def create_spoke(
10011001
location.
10021002
10031003
1004-
.. code-block::
1004+
.. code-block:: python
10051005
10061006
from google.cloud import networkconnectivity_v1
10071007
@@ -1131,7 +1131,7 @@ async def update_spoke(
11311131
) -> operation_async.AsyncOperation:
11321132
r"""Updates the parameters of the specified spoke.
11331133
1134-
.. code-block::
1134+
.. code-block:: python
11351135
11361136
from google.cloud import networkconnectivity_v1
11371137
@@ -1258,7 +1258,7 @@ async def delete_spoke(
12581258
) -> operation_async.AsyncOperation:
12591259
r"""Deletes the specified spoke.
12601260
1261-
.. code-block::
1261+
.. code-block:: python
12621262
12631263
from google.cloud import networkconnectivity_v1
12641264

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

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,7 @@ def list_hubs(
499499
) -> pagers.ListHubsPager:
500500
r"""Lists hubs in a given project.
501501
502-
503-
.. code-block::
502+
.. code-block:: python
504503
505504
from google.cloud import networkconnectivity_v1
506505
@@ -600,8 +599,7 @@ def get_hub(
600599
) -> hub.Hub:
601600
r"""Gets details about the specified hub.
602601
603-
604-
.. code-block::
602+
.. code-block:: python
605603
606604
from google.cloud import networkconnectivity_v1
607605
@@ -701,8 +699,7 @@ def create_hub(
701699
) -> operation.Operation:
702700
r"""Creates a new hub in the specified project.
703701
704-
705-
.. code-block::
702+
.. code-block:: python
706703
707704
from google.cloud import networkconnectivity_v1
708705
@@ -832,8 +829,7 @@ def update_hub(
832829
specified hub.
833830
834831
835-
836-
.. code-block::
832+
.. code-block:: python
837833
838834
from google.cloud import networkconnectivity_v1
839835
@@ -955,8 +951,7 @@ def delete_hub(
955951
) -> operation.Operation:
956952
r"""Deletes the specified hub.
957953
958-
959-
.. code-block::
954+
.. code-block:: python
960955
961956
from google.cloud import networkconnectivity_v1
962957
@@ -1073,8 +1068,7 @@ def list_spokes(
10731068
location.
10741069
10751070
1076-
1077-
.. code-block::
1071+
.. code-block:: python
10781072
10791073
from google.cloud import networkconnectivity_v1
10801074
@@ -1172,8 +1166,7 @@ def get_spoke(
11721166
) -> hub.Spoke:
11731167
r"""Gets details about the specified spoke.
11741168
1175-
1176-
.. code-block::
1169+
.. code-block:: python
11771170
11781171
from google.cloud import networkconnectivity_v1
11791172
@@ -1275,8 +1268,7 @@ def create_spoke(
12751268
location.
12761269
12771270
1278-
1279-
.. code-block::
1271+
.. code-block:: python
12801272
12811273
from google.cloud import networkconnectivity_v1
12821274
@@ -1406,8 +1398,7 @@ def update_spoke(
14061398
) -> operation.Operation:
14071399
r"""Updates the parameters of the specified spoke.
14081400
1409-
1410-
.. code-block::
1401+
.. code-block:: python
14111402
14121403
from google.cloud import networkconnectivity_v1
14131404
@@ -1534,8 +1525,7 @@ def delete_spoke(
15341525
) -> operation.Operation:
15351526
r"""Deletes the specified spoke.
15361527
1537-
1538-
.. code-block::
1528+
.. code-block:: python
15391529
15401530
from google.cloud import networkconnectivity_v1
15411531

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ async def list_hubs(
230230
) -> pagers.ListHubsAsyncPager:
231231
r"""Lists Hubs in a given project and location.
232232
233-
.. code-block::
233+
.. code-block:: python
234234
235235
from google.cloud import networkconnectivity_v1alpha1
236236
@@ -330,7 +330,7 @@ async def get_hub(
330330
) -> hub.Hub:
331331
r"""Gets details of a single Hub.
332332
333-
.. code-block::
333+
.. code-block:: python
334334
335335
from google.cloud import networkconnectivity_v1alpha1
336336
@@ -428,7 +428,7 @@ async def create_hub(
428428
) -> operation_async.AsyncOperation:
429429
r"""Creates a new Hub in a given project and location.
430430
431-
.. code-block::
431+
.. code-block:: python
432432
433433
from google.cloud import networkconnectivity_v1alpha1
434434
@@ -555,7 +555,7 @@ async def update_hub(
555555
) -> operation_async.AsyncOperation:
556556
r"""Updates the parameters of a single Hub.
557557
558-
.. code-block::
558+
.. code-block:: python
559559
560560
from google.cloud import networkconnectivity_v1alpha1
561561
@@ -675,7 +675,7 @@ async def delete_hub(
675675
) -> operation_async.AsyncOperation:
676676
r"""Deletes a single Hub.
677677
678-
.. code-block::
678+
.. code-block:: python
679679
680680
from google.cloud import networkconnectivity_v1alpha1
681681
@@ -790,7 +790,7 @@ async def list_spokes(
790790
) -> pagers.ListSpokesAsyncPager:
791791
r"""Lists Spokes in a given project and location.
792792
793-
.. code-block::
793+
.. code-block:: python
794794
795795
from google.cloud import networkconnectivity_v1alpha1
796796
@@ -888,7 +888,7 @@ async def get_spoke(
888888
) -> hub.Spoke:
889889
r"""Gets details of a single Spoke.
890890
891-
.. code-block::
891+
.. code-block:: python
892892
893893
from google.cloud import networkconnectivity_v1alpha1
894894
@@ -981,7 +981,7 @@ async def create_spoke(
981981
) -> operation_async.AsyncOperation:
982982
r"""Creates a new Spoke in a given project and location.
983983
984-
.. code-block::
984+
.. code-block:: python
985985
986986
from google.cloud import networkconnectivity_v1alpha1
987987
@@ -1106,7 +1106,7 @@ async def update_spoke(
11061106
) -> operation_async.AsyncOperation:
11071107
r"""Updates the parameters of a single Spoke.
11081108
1109-
.. code-block::
1109+
.. code-block:: python
11101110
11111111
from google.cloud import networkconnectivity_v1alpha1
11121112
@@ -1227,7 +1227,7 @@ async def delete_spoke(
12271227
) -> operation_async.AsyncOperation:
12281228
r"""Deletes a single Spoke.
12291229
1230-
.. code-block::
1230+
.. code-block:: python
12311231
12321232
from google.cloud import networkconnectivity_v1alpha1
12331233

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

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,7 @@ def list_hubs(
484484
) -> pagers.ListHubsPager:
485485
r"""Lists Hubs in a given project and location.
486486
487-
488-
.. code-block::
487+
.. code-block:: python
489488
490489
from google.cloud import networkconnectivity_v1alpha1
491490
@@ -585,8 +584,7 @@ def get_hub(
585584
) -> hub.Hub:
586585
r"""Gets details of a single Hub.
587586
588-
589-
.. code-block::
587+
.. code-block:: python
590588
591589
from google.cloud import networkconnectivity_v1alpha1
592590
@@ -684,8 +682,7 @@ def create_hub(
684682
) -> operation.Operation:
685683
r"""Creates a new Hub in a given project and location.
686684
687-
688-
.. code-block::
685+
.. code-block:: python
689686
690687
from google.cloud import networkconnectivity_v1alpha1
691688
@@ -812,8 +809,7 @@ def update_hub(
812809
) -> operation.Operation:
813810
r"""Updates the parameters of a single Hub.
814811
815-
816-
.. code-block::
812+
.. code-block:: python
817813
818814
from google.cloud import networkconnectivity_v1alpha1
819815
@@ -933,8 +929,7 @@ def delete_hub(
933929
) -> operation.Operation:
934930
r"""Deletes a single Hub.
935931
936-
937-
.. code-block::
932+
.. code-block:: python
938933
939934
from google.cloud import networkconnectivity_v1alpha1
940935
@@ -1049,8 +1044,7 @@ def list_spokes(
10491044
) -> pagers.ListSpokesPager:
10501045
r"""Lists Spokes in a given project and location.
10511046
1052-
1053-
.. code-block::
1047+
.. code-block:: python
10541048
10551049
from google.cloud import networkconnectivity_v1alpha1
10561050
@@ -1148,8 +1142,7 @@ def get_spoke(
11481142
) -> hub.Spoke:
11491143
r"""Gets details of a single Spoke.
11501144
1151-
1152-
.. code-block::
1145+
.. code-block:: python
11531146
11541147
from google.cloud import networkconnectivity_v1alpha1
11551148
@@ -1242,8 +1235,7 @@ def create_spoke(
12421235
) -> operation.Operation:
12431236
r"""Creates a new Spoke in a given project and location.
12441237
1245-
1246-
.. code-block::
1238+
.. code-block:: python
12471239
12481240
from google.cloud import networkconnectivity_v1alpha1
12491241
@@ -1368,8 +1360,7 @@ def update_spoke(
13681360
) -> operation.Operation:
13691361
r"""Updates the parameters of a single Spoke.
13701362
1371-
1372-
.. code-block::
1363+
.. code-block:: python
13731364
13741365
from google.cloud import networkconnectivity_v1alpha1
13751366
@@ -1490,8 +1481,7 @@ def delete_spoke(
14901481
) -> operation.Operation:
14911482
r"""Deletes a single Spoke.
14921483
1493-
1494-
.. code-block::
1484+
.. code-block:: python
14951485
14961486
from google.cloud import networkconnectivity_v1alpha1
14971487

packages/google-cloud-network-connectivity/samples/generated_samples/networkconnectivity_generated_networkconnectivity_v1_hub_service_create_hub_async.py renamed to packages/google-cloud-network-connectivity/samples/generated_samples/networkconnectivity_v1_generated_hub_service_create_hub_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# python3 -m pip install google-cloud-networkconnectivity
2424

2525

26-
# [START networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_async]
26+
# [START networkconnectivity_v1_generated_HubService_CreateHub_async]
2727
from google.cloud import networkconnectivity_v1
2828

2929

@@ -47,4 +47,4 @@ async def sample_create_hub():
4747
# Handle the response
4848
print(response)
4949

50-
# [END networkconnectivity_generated_networkconnectivity_v1_HubService_CreateHub_async]
50+
# [END networkconnectivity_v1_generated_HubService_CreateHub_async]

0 commit comments

Comments
 (0)