Skip to content

Commit 712f0eb

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

File tree

44 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.

44 files changed

+961
-401
lines changed

packages/google-cloud-bare-metal-solution/google/cloud/bare_metal_solution_v2/services/bare_metal_solution/async_client.py

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ async def list_instances(
251251
252252
.. code-block:: python
253253
254+
# This snippet has been automatically generated and should be regarded as a
255+
# code template only.
256+
# It will require modifications to work:
257+
# - It may require correct/in-range values for request initialization.
258+
# - It may require specifying regional endpoints when creating the service
259+
# client as shown in:
260+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
254261
from google.cloud import bare_metal_solution_v2
255262
256263
async def sample_list_instances():
@@ -359,6 +366,13 @@ async def get_instance(
359366
360367
.. code-block:: python
361368
369+
# This snippet has been automatically generated and should be regarded as a
370+
# code template only.
371+
# It will require modifications to work:
372+
# - It may require correct/in-range values for request initialization.
373+
# - It may require specifying regional endpoints when creating the service
374+
# client as shown in:
375+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
362376
from google.cloud import bare_metal_solution_v2
363377
364378
async def sample_get_instance():
@@ -451,6 +465,13 @@ async def update_instance(
451465
452466
.. code-block:: python
453467
468+
# This snippet has been automatically generated and should be regarded as a
469+
# code template only.
470+
# It will require modifications to work:
471+
# - It may require correct/in-range values for request initialization.
472+
# - It may require specifying regional endpoints when creating the service
473+
# client as shown in:
474+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
454475
from google.cloud import bare_metal_solution_v2
455476
456477
async def sample_update_instance():
@@ -577,6 +598,13 @@ async def reset_instance(
577598
578599
.. code-block:: python
579600
601+
# This snippet has been automatically generated and should be regarded as a
602+
# code template only.
603+
# It will require modifications to work:
604+
# - It may require correct/in-range values for request initialization.
605+
# - It may require specifying regional endpoints when creating the service
606+
# client as shown in:
607+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
580608
from google.cloud import bare_metal_solution_v2
581609
582610
async def sample_reset_instance():
@@ -685,6 +713,13 @@ async def start_instance(
685713
686714
.. code-block:: python
687715
716+
# This snippet has been automatically generated and should be regarded as a
717+
# code template only.
718+
# It will require modifications to work:
719+
# - It may require correct/in-range values for request initialization.
720+
# - It may require specifying regional endpoints when creating the service
721+
# client as shown in:
722+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
688723
from google.cloud import bare_metal_solution_v2
689724
690725
async def sample_start_instance():
@@ -793,6 +828,13 @@ async def stop_instance(
793828
794829
.. code-block:: python
795830
831+
# This snippet has been automatically generated and should be regarded as a
832+
# code template only.
833+
# It will require modifications to work:
834+
# - It may require correct/in-range values for request initialization.
835+
# - It may require specifying regional endpoints when creating the service
836+
# client as shown in:
837+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
796838
from google.cloud import bare_metal_solution_v2
797839
798840
async def sample_stop_instance():
@@ -901,6 +943,13 @@ async def detach_lun(
901943
902944
.. code-block:: python
903945
946+
# This snippet has been automatically generated and should be regarded as a
947+
# code template only.
948+
# It will require modifications to work:
949+
# - It may require correct/in-range values for request initialization.
950+
# - It may require specifying regional endpoints when creating the service
951+
# client as shown in:
952+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
904953
from google.cloud import bare_metal_solution_v2
905954
906955
async def sample_detach_lun():
@@ -1017,6 +1066,13 @@ async def list_volumes(
10171066
10181067
.. code-block:: python
10191068
1069+
# This snippet has been automatically generated and should be regarded as a
1070+
# code template only.
1071+
# It will require modifications to work:
1072+
# - It may require correct/in-range values for request initialization.
1073+
# - It may require specifying regional endpoints when creating the service
1074+
# client as shown in:
1075+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
10201076
from google.cloud import bare_metal_solution_v2
10211077
10221078
async def sample_list_volumes():
@@ -1125,6 +1181,13 @@ async def get_volume(
11251181
11261182
.. code-block:: python
11271183
1184+
# This snippet has been automatically generated and should be regarded as a
1185+
# code template only.
1186+
# It will require modifications to work:
1187+
# - It may require correct/in-range values for request initialization.
1188+
# - It may require specifying regional endpoints when creating the service
1189+
# client as shown in:
1190+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
11281191
from google.cloud import bare_metal_solution_v2
11291192
11301193
async def sample_get_volume():
@@ -1217,6 +1280,13 @@ async def update_volume(
12171280
12181281
.. code-block:: python
12191282
1283+
# This snippet has been automatically generated and should be regarded as a
1284+
# code template only.
1285+
# It will require modifications to work:
1286+
# - It may require correct/in-range values for request initialization.
1287+
# - It may require specifying regional endpoints when creating the service
1288+
# client as shown in:
1289+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
12201290
from google.cloud import bare_metal_solution_v2
12211291
12221292
async def sample_update_volume():
@@ -1343,6 +1413,13 @@ async def resize_volume(
13431413
13441414
.. code-block:: python
13451415
1416+
# This snippet has been automatically generated and should be regarded as a
1417+
# code template only.
1418+
# It will require modifications to work:
1419+
# - It may require correct/in-range values for request initialization.
1420+
# - It may require specifying regional endpoints when creating the service
1421+
# client as shown in:
1422+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
13461423
from google.cloud import bare_metal_solution_v2
13471424
13481425
async def sample_resize_volume():
@@ -1457,6 +1534,13 @@ async def list_networks(
14571534
14581535
.. code-block:: python
14591536
1537+
# This snippet has been automatically generated and should be regarded as a
1538+
# code template only.
1539+
# It will require modifications to work:
1540+
# - It may require correct/in-range values for request initialization.
1541+
# - It may require specifying regional endpoints when creating the service
1542+
# client as shown in:
1543+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
14601544
from google.cloud import bare_metal_solution_v2
14611545
14621546
async def sample_list_networks():
@@ -1567,6 +1651,13 @@ async def list_network_usage(
15671651
15681652
.. code-block:: python
15691653
1654+
# This snippet has been automatically generated and should be regarded as a
1655+
# code template only.
1656+
# It will require modifications to work:
1657+
# - It may require correct/in-range values for request initialization.
1658+
# - It may require specifying regional endpoints when creating the service
1659+
# client as shown in:
1660+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
15701661
from google.cloud import bare_metal_solution_v2
15711662
15721663
async def sample_list_network_usage():
@@ -1659,6 +1750,13 @@ async def get_network(
16591750
16601751
.. code-block:: python
16611752
1753+
# This snippet has been automatically generated and should be regarded as a
1754+
# code template only.
1755+
# It will require modifications to work:
1756+
# - It may require correct/in-range values for request initialization.
1757+
# - It may require specifying regional endpoints when creating the service
1758+
# client as shown in:
1759+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
16621760
from google.cloud import bare_metal_solution_v2
16631761
16641762
async def sample_get_network():
@@ -1751,6 +1849,13 @@ async def update_network(
17511849
17521850
.. code-block:: python
17531851
1852+
# This snippet has been automatically generated and should be regarded as a
1853+
# code template only.
1854+
# It will require modifications to work:
1855+
# - It may require correct/in-range values for request initialization.
1856+
# - It may require specifying regional endpoints when creating the service
1857+
# client as shown in:
1858+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
17541859
from google.cloud import bare_metal_solution_v2
17551860
17561861
async def sample_update_network():
@@ -1875,6 +1980,13 @@ async def get_lun(
18751980
18761981
.. code-block:: python
18771982
1983+
# This snippet has been automatically generated and should be regarded as a
1984+
# code template only.
1985+
# It will require modifications to work:
1986+
# - It may require correct/in-range values for request initialization.
1987+
# - It may require specifying regional endpoints when creating the service
1988+
# client as shown in:
1989+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
18781990
from google.cloud import bare_metal_solution_v2
18791991
18801992
async def sample_get_lun():
@@ -1968,6 +2080,13 @@ async def list_luns(
19682080
19692081
.. code-block:: python
19702082
2083+
# This snippet has been automatically generated and should be regarded as a
2084+
# code template only.
2085+
# It will require modifications to work:
2086+
# - It may require correct/in-range values for request initialization.
2087+
# - It may require specifying regional endpoints when creating the service
2088+
# client as shown in:
2089+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
19712090
from google.cloud import bare_metal_solution_v2
19722091
19732092
async def sample_list_luns():
@@ -2076,6 +2195,13 @@ async def get_nfs_share(
20762195
20772196
.. code-block:: python
20782197
2198+
# This snippet has been automatically generated and should be regarded as a
2199+
# code template only.
2200+
# It will require modifications to work:
2201+
# - It may require correct/in-range values for request initialization.
2202+
# - It may require specifying regional endpoints when creating the service
2203+
# client as shown in:
2204+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
20792205
from google.cloud import bare_metal_solution_v2
20802206
20812207
async def sample_get_nfs_share():
@@ -2167,6 +2293,13 @@ async def list_nfs_shares(
21672293
21682294
.. code-block:: python
21692295
2296+
# This snippet has been automatically generated and should be regarded as a
2297+
# code template only.
2298+
# It will require modifications to work:
2299+
# - It may require correct/in-range values for request initialization.
2300+
# - It may require specifying regional endpoints when creating the service
2301+
# client as shown in:
2302+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
21702303
from google.cloud import bare_metal_solution_v2
21712304
21722305
async def sample_list_nfs_shares():
@@ -2276,6 +2409,13 @@ async def update_nfs_share(
22762409
22772410
.. code-block:: python
22782411
2412+
# This snippet has been automatically generated and should be regarded as a
2413+
# code template only.
2414+
# It will require modifications to work:
2415+
# - It may require correct/in-range values for request initialization.
2416+
# - It may require specifying regional endpoints when creating the service
2417+
# client as shown in:
2418+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
22792419
from google.cloud import bare_metal_solution_v2
22802420
22812421
async def sample_update_nfs_share():

0 commit comments

Comments
 (0)