Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 88f4b1d

Browse files
docs: Fix formatting of request arg in docstring (#91)
* chore: Update gapic-generator-python to v1.9.0 PiperOrigin-RevId: 517425588 Source-Link: googleapis/googleapis@33c93eb Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5f59789d19fc43270ff2124967d4ec8992b8e8f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: googleapis/googleapis@8a085ae Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 4e208a5 commit 88f4b1d

File tree

5 files changed

+10
-28
lines changed

5 files changed

+10
-28
lines changed

google/cloud/bare_metal_solution_v2/services/bare_metal_solution/async_client.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,7 @@ async def sample_reset_instance():
645645
646646
Args:
647647
request (Optional[Union[google.cloud.bare_metal_solution_v2.types.ResetInstanceRequest, dict]]):
648-
The request object. Message requesting to reset a
649-
server.
648+
The request object. Message requesting to reset a server.
650649
name (:class:`str`):
651650
Required. Name of the resource.
652651
This corresponds to the ``name`` field
@@ -760,8 +759,7 @@ async def sample_start_instance():
760759
761760
Args:
762761
request (Optional[Union[google.cloud.bare_metal_solution_v2.types.StartInstanceRequest, dict]]):
763-
The request object. Message requesting to start a
764-
server.
762+
The request object. Message requesting to start a server.
765763
name (:class:`str`):
766764
Required. Name of the resource.
767765
This corresponds to the ``name`` field
@@ -1224,8 +1222,8 @@ async def sample_get_volume():
12241222
12251223
Args:
12261224
request (Optional[Union[google.cloud.bare_metal_solution_v2.types.GetVolumeRequest, dict]]):
1227-
The request object. Message for requesting storage
1228-
volume information.
1225+
The request object. Message for requesting storage volume
1226+
information.
12291227
name (:class:`str`):
12301228
Required. Name of the resource.
12311229
This corresponds to the ``name`` field

google/cloud/bare_metal_solution_v2/services/bare_metal_solution/client.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -972,8 +972,7 @@ def sample_reset_instance():
972972
973973
Args:
974974
request (Union[google.cloud.bare_metal_solution_v2.types.ResetInstanceRequest, dict]):
975-
The request object. Message requesting to reset a
976-
server.
975+
The request object. Message requesting to reset a server.
977976
name (str):
978977
Required. Name of the resource.
979978
This corresponds to the ``name`` field
@@ -1087,8 +1086,7 @@ def sample_start_instance():
10871086
10881087
Args:
10891088
request (Union[google.cloud.bare_metal_solution_v2.types.StartInstanceRequest, dict]):
1090-
The request object. Message requesting to start a
1091-
server.
1089+
The request object. Message requesting to start a server.
10921090
name (str):
10931091
Required. Name of the resource.
10941092
This corresponds to the ``name`` field
@@ -1551,8 +1549,8 @@ def sample_get_volume():
15511549
15521550
Args:
15531551
request (Union[google.cloud.bare_metal_solution_v2.types.GetVolumeRequest, dict]):
1554-
The request object. Message for requesting storage
1555-
volume information.
1552+
The request object. Message for requesting storage volume
1553+
information.
15561554
name (str):
15571555
Required. Name of the resource.
15581556
This corresponds to the ``name`` field

google/cloud/bare_metal_solution_v2/services/bare_metal_solution/transports/rest.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,6 @@ def __call__(
886886
request (~.gcb_instance.DetachLunRequest):
887887
The request object. Message for detach specific LUN from
888888
an Instance.
889-
890889
retry (google.api_core.retry.Retry): Designation of what errors, if any,
891890
should be retried.
892891
timeout (float): The timeout for this request.
@@ -984,7 +983,6 @@ def __call__(
984983
request (~.instance.GetInstanceRequest):
985984
The request object. Message for requesting server
986985
information.
987-
988986
retry (google.api_core.retry.Retry): Designation of what errors, if any,
989987
should be retried.
990988
timeout (float): The timeout for this request.
@@ -1072,7 +1070,6 @@ def __call__(
10721070
request (~.lun.GetLunRequest):
10731071
The request object. Message for requesting storage lun
10741072
information.
1075-
10761073
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10771074
should be retried.
10781075
timeout (float): The timeout for this request.
@@ -1162,7 +1159,6 @@ def __call__(
11621159
request (~.network.GetNetworkRequest):
11631160
The request object. Message for requesting network
11641161
information.
1165-
11661162
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11671163
should be retried.
11681164
timeout (float): The timeout for this request.
@@ -1250,7 +1246,6 @@ def __call__(
12501246
request (~.nfs_share.GetNfsShareRequest):
12511247
The request object. Message for requesting NFS share
12521248
information.
1253-
12541249
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12551250
should be retried.
12561251
timeout (float): The timeout for this request.
@@ -1338,7 +1333,6 @@ def __call__(
13381333
request (~.volume.GetVolumeRequest):
13391334
The request object. Message for requesting storage volume
13401335
information.
1341-
13421336
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13431337
should be retried.
13441338
timeout (float): The timeout for this request.
@@ -1426,7 +1420,6 @@ def __call__(
14261420
request (~.instance.ListInstancesRequest):
14271421
The request object. Message for requesting the list of
14281422
servers.
1429-
14301423
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14311424
should be retried.
14321425
timeout (float): The timeout for this request.
@@ -1516,7 +1509,6 @@ def __call__(
15161509
request (~.lun.ListLunsRequest):
15171510
The request object. Message for requesting a list of
15181511
storage volume luns.
1519-
15201512
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15211513
should be retried.
15221514
timeout (float): The timeout for this request.
@@ -1606,7 +1598,6 @@ def __call__(
16061598
request (~.network.ListNetworksRequest):
16071599
The request object. Message for requesting a list of
16081600
networks.
1609-
16101601
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16111602
should be retried.
16121603
timeout (float): The timeout for this request.
@@ -1784,7 +1775,6 @@ def __call__(
17841775
request (~.nfs_share.ListNfsSharesRequest):
17851776
The request object. Message for requesting a list of NFS
17861777
shares.
1787-
17881778
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17891779
should be retried.
17901780
timeout (float): The timeout for this request.
@@ -1874,7 +1864,6 @@ def __call__(
18741864
request (~.volume.ListVolumesRequest):
18751865
The request object. Message for requesting a list of
18761866
storage volumes.
1877-
18781867
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18791868
should be retried.
18801869
timeout (float): The timeout for this request.
@@ -2348,7 +2337,6 @@ def __call__(
23482337
request (~.gcb_instance.UpdateInstanceRequest):
23492338
The request object. Message requesting to updating a
23502339
server.
2351-
23522340
retry (google.api_core.retry.Retry): Designation of what errors, if any,
23532341
should be retried.
23542342
timeout (float): The timeout for this request.
@@ -2446,7 +2434,6 @@ def __call__(
24462434
request (~.gcb_network.UpdateNetworkRequest):
24472435
The request object. Message requesting to updating a
24482436
network.
2449-
24502437
retry (google.api_core.retry.Retry): Designation of what errors, if any,
24512438
should be retried.
24522439
timeout (float): The timeout for this request.
@@ -2544,7 +2531,6 @@ def __call__(
25442531
request (~.gcb_nfs_share.UpdateNfsShareRequest):
25452532
The request object. Message requesting to updating a NFS
25462533
share.
2547-
25482534
retry (google.api_core.retry.Retry): Designation of what errors, if any,
25492535
should be retried.
25502536
timeout (float): The timeout for this request.

samples/generated_samples/snippet_metadata_google.cloud.baremetalsolution.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-bare-metal-solution",
11-
"version": "1.4.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"proto-plus >= 1.22.0, <2.0.0dev",
4343
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4444
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
45-
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
45+
"grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
4646
]
4747
url = "https://github.com/googleapis/python-bare-metal-solution"
4848

0 commit comments

Comments
 (0)