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

Commit 475baaf

Browse files
docs: Fix formatting of request arg in docstring (#142)
* 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 fe698b2 commit 475baaf

File tree

3 files changed

+16
-31
lines changed

3 files changed

+16
-31
lines changed

google/cloud/filestore_v1/services/cloud_filestore_manager/async_client.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,7 @@ async def sample_list_instances():
297297
298298
Args:
299299
request (Optional[Union[google.cloud.filestore_v1.types.ListInstancesRequest, dict]]):
300-
The request object. ListInstancesRequest lists
301-
instances.
300+
The request object. ListInstancesRequest lists instances.
302301
parent (:class:`str`):
303302
Required. The project and location for which to retrieve
304303
instance information, in the format
@@ -827,7 +826,8 @@ async def sample_restore_instance():
827826
Args:
828827
request (Optional[Union[google.cloud.filestore_v1.types.RestoreInstanceRequest, dict]]):
829828
The request object. RestoreInstanceRequest restores an
830-
existing instance's file share from a backup.
829+
existing instance's file share from a
830+
backup.
831831
retry (google.api_core.retry.Retry): Designation of what errors, if any,
832832
should be retried.
833833
timeout (float): The timeout for this request.
@@ -1048,8 +1048,7 @@ async def sample_list_snapshots():
10481048
10491049
Args:
10501050
request (Optional[Union[google.cloud.filestore_v1.types.ListSnapshotsRequest, dict]]):
1051-
The request object. ListSnapshotsRequest lists
1052-
snapshots.
1051+
The request object. ListSnapshotsRequest lists snapshots.
10531052
parent (:class:`str`):
10541053
Required. The instance for which to retrieve snapshot
10551054
information, in the format
@@ -1542,7 +1541,8 @@ async def sample_update_snapshot():
15421541
Args:
15431542
request (Optional[Union[google.cloud.filestore_v1.types.UpdateSnapshotRequest, dict]]):
15441543
The request object. UpdateSnapshotRequest updates
1545-
description and/or labels for a snapshot.
1544+
description and/or labels for a
1545+
snapshot.
15461546
snapshot (:class:`google.cloud.filestore_v1.types.Snapshot`):
15471547
Required. A snapshot resource.
15481548
This corresponds to the ``snapshot`` field
@@ -1912,8 +1912,7 @@ async def sample_create_backup():
19121912
19131913
Args:
19141914
request (Optional[Union[google.cloud.filestore_v1.types.CreateBackupRequest, dict]]):
1915-
The request object. CreateBackupRequest creates a
1916-
backup.
1915+
The request object. CreateBackupRequest creates a backup.
19171916
parent (:class:`str`):
19181917
Required. The backup's project and location, in the
19191918
format
@@ -2057,8 +2056,7 @@ async def sample_delete_backup():
20572056
20582057
Args:
20592058
request (Optional[Union[google.cloud.filestore_v1.types.DeleteBackupRequest, dict]]):
2060-
The request object. DeleteBackupRequest deletes a
2061-
backup.
2059+
The request object. DeleteBackupRequest deletes a backup.
20622060
name (:class:`str`):
20632061
Required. The backup resource name, in the format
20642062
``projects/{project_number}/locations/{location}/backups/{backup_id}``

google/cloud/filestore_v1/services/cloud_filestore_manager/client.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,7 @@ def sample_list_instances():
565565
566566
Args:
567567
request (Union[google.cloud.filestore_v1.types.ListInstancesRequest, dict]):
568-
The request object. ListInstancesRequest lists
569-
instances.
568+
The request object. ListInstancesRequest lists instances.
570569
parent (str):
571570
Required. The project and location for which to retrieve
572571
instance information, in the format
@@ -1077,7 +1076,8 @@ def sample_restore_instance():
10771076
Args:
10781077
request (Union[google.cloud.filestore_v1.types.RestoreInstanceRequest, dict]):
10791078
The request object. RestoreInstanceRequest restores an
1080-
existing instance's file share from a backup.
1079+
existing instance's file share from a
1080+
backup.
10811081
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10821082
should be retried.
10831083
timeout (float): The timeout for this request.
@@ -1299,8 +1299,7 @@ def sample_list_snapshots():
12991299
13001300
Args:
13011301
request (Union[google.cloud.filestore_v1.types.ListSnapshotsRequest, dict]):
1302-
The request object. ListSnapshotsRequest lists
1303-
snapshots.
1302+
The request object. ListSnapshotsRequest lists snapshots.
13041303
parent (str):
13051304
Required. The instance for which to retrieve snapshot
13061305
information, in the format
@@ -1793,7 +1792,8 @@ def sample_update_snapshot():
17931792
Args:
17941793
request (Union[google.cloud.filestore_v1.types.UpdateSnapshotRequest, dict]):
17951794
The request object. UpdateSnapshotRequest updates
1796-
description and/or labels for a snapshot.
1795+
description and/or labels for a
1796+
snapshot.
17971797
snapshot (google.cloud.filestore_v1.types.Snapshot):
17981798
Required. A snapshot resource.
17991799
This corresponds to the ``snapshot`` field
@@ -2145,8 +2145,7 @@ def sample_create_backup():
21452145
21462146
Args:
21472147
request (Union[google.cloud.filestore_v1.types.CreateBackupRequest, dict]):
2148-
The request object. CreateBackupRequest creates a
2149-
backup.
2148+
The request object. CreateBackupRequest creates a backup.
21502149
parent (str):
21512150
Required. The backup's project and location, in the
21522151
format
@@ -2290,8 +2289,7 @@ def sample_delete_backup():
22902289
22912290
Args:
22922291
request (Union[google.cloud.filestore_v1.types.DeleteBackupRequest, dict]):
2293-
The request object. DeleteBackupRequest deletes a
2294-
backup.
2292+
The request object. DeleteBackupRequest deletes a backup.
22952293
name (str):
22962294
Required. The backup resource name, in the format
22972295
``projects/{project_number}/locations/{location}/backups/{backup_id}``

google/cloud/filestore_v1/services/cloud_filestore_manager/transports/rest.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,6 @@ def __call__(
888888
request (~.cloud_filestore_service.CreateInstanceRequest):
889889
The request object. CreateInstanceRequest creates an
890890
instance.
891-
892891
retry (google.api_core.retry.Retry): Designation of what errors, if any,
893892
should be retried.
894893
timeout (float): The timeout for this request.
@@ -988,7 +987,6 @@ def __call__(
988987
request (~.cloud_filestore_service.CreateSnapshotRequest):
989988
The request object. CreateSnapshotRequest creates a
990989
snapshot.
991-
992990
retry (google.api_core.retry.Retry): Designation of what errors, if any,
993991
should be retried.
994992
timeout (float): The timeout for this request.
@@ -1173,7 +1171,6 @@ def __call__(
11731171
request (~.cloud_filestore_service.DeleteInstanceRequest):
11741172
The request object. DeleteInstanceRequest deletes an
11751173
instance.
1176-
11771174
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11781175
should be retried.
11791176
timeout (float): The timeout for this request.
@@ -1262,7 +1259,6 @@ def __call__(
12621259
request (~.cloud_filestore_service.DeleteSnapshotRequest):
12631260
The request object. DeleteSnapshotRequest deletes a
12641261
snapshot.
1265-
12661262
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12671263
should be retried.
12681264
timeout (float): The timeout for this request.
@@ -1351,7 +1347,6 @@ def __call__(
13511347
request (~.cloud_filestore_service.GetBackupRequest):
13521348
The request object. GetBackupRequest gets the state of a
13531349
backup.
1354-
13551350
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13561351
should be retried.
13571352
timeout (float): The timeout for this request.
@@ -1439,7 +1434,6 @@ def __call__(
14391434
request (~.cloud_filestore_service.GetInstanceRequest):
14401435
The request object. GetInstanceRequest gets the state of
14411436
an instance.
1442-
14431437
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14441438
should be retried.
14451439
timeout (float): The timeout for this request.
@@ -1527,7 +1521,6 @@ def __call__(
15271521
request (~.cloud_filestore_service.GetSnapshotRequest):
15281522
The request object. GetSnapshotRequest gets the state of
15291523
a snapshot.
1530-
15311524
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15321525
should be retried.
15331526
timeout (float): The timeout for this request.
@@ -1880,7 +1873,6 @@ def __call__(
18801873
The request object. RestoreInstanceRequest restores an
18811874
existing instance's file share from a
18821875
backup.
1883-
18841876
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18851877
should be retried.
18861878
timeout (float): The timeout for this request.
@@ -1982,7 +1974,6 @@ def __call__(
19821974
request (~.cloud_filestore_service.UpdateBackupRequest):
19831975
The request object. UpdateBackupRequest updates
19841976
description and/or labels for a backup.
1985-
19861977
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19871978
should be retried.
19881979
timeout (float): The timeout for this request.
@@ -2070,7 +2061,6 @@ def __call__(
20702061
request (~.cloud_filestore_service.UpdateInstanceRequest):
20712062
The request object. UpdateInstanceRequest updates the
20722063
settings of an instance.
2073-
20742064
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20752065
should be retried.
20762066
timeout (float): The timeout for this request.
@@ -2170,7 +2160,6 @@ def __call__(
21702160
The request object. UpdateSnapshotRequest updates
21712161
description and/or labels for a
21722162
snapshot.
2173-
21742163
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21752164
should be retried.
21762165
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)