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

Commit 911b0ed

Browse files
docs: Fix formatting of request arg in docstring (#60)
* 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 a65e83c commit 911b0ed

File tree

3 files changed

+10
-25
lines changed

3 files changed

+10
-25
lines changed

google/cloud/gke_backup_v1/services/backup_for_gke/async_client.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ async def sample_create_backup_plan():
294294
295295
Args:
296296
request (Optional[Union[google.cloud.gke_backup_v1.types.CreateBackupPlanRequest, dict]]):
297-
The request object. Request message for
298-
CreateBackupPlan.
297+
The request object. Request message for CreateBackupPlan.
299298
parent (:class:`str`):
300299
Required. The location within which to create the
301300
BackupPlan. Format: ``projects/*/locations/*``
@@ -674,8 +673,7 @@ async def sample_update_backup_plan():
674673
675674
Args:
676675
request (Optional[Union[google.cloud.gke_backup_v1.types.UpdateBackupPlanRequest, dict]]):
677-
The request object. Request message for
678-
UpdateBackupPlan.
676+
The request object. Request message for UpdateBackupPlan.
679677
backup_plan (:class:`google.cloud.gke_backup_v1.types.BackupPlan`):
680678
Required. A new version of the BackupPlan resource that
681679
contains updated fields. This may be sparsely populated
@@ -813,8 +811,7 @@ async def sample_delete_backup_plan():
813811
814812
Args:
815813
request (Optional[Union[google.cloud.gke_backup_v1.types.DeleteBackupPlanRequest, dict]]):
816-
The request object. Request message for
817-
DeleteBackupPlan.
814+
The request object. Request message for DeleteBackupPlan.
818815
name (:class:`str`):
819816
Required. Fully qualified BackupPlan name. Format:
820817
``projects/*/locations/*/backupPlans/*``
@@ -1969,8 +1966,7 @@ async def sample_list_restore_plans():
19691966
19701967
Args:
19711968
request (Optional[Union[google.cloud.gke_backup_v1.types.ListRestorePlansRequest, dict]]):
1972-
The request object. Request message for
1973-
ListRestorePlans.
1969+
The request object. Request message for ListRestorePlans.
19741970
parent (:class:`str`):
19751971
Required. The location that contains the RestorePlans to
19761972
list. Format: ``projects/*/locations/*``
@@ -3241,8 +3237,7 @@ async def sample_get_volume_restore():
32413237
32423238
Args:
32433239
request (Optional[Union[google.cloud.gke_backup_v1.types.GetVolumeRestoreRequest, dict]]):
3244-
The request object. Request message for
3245-
GetVolumeRestore.
3240+
The request object. Request message for GetVolumeRestore.
32463241
name (:class:`str`):
32473242
Required. Full name of the VolumeRestore resource.
32483243
Format:

google/cloud/gke_backup_v1/services/backup_for_gke/client.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@ def sample_create_backup_plan():
679679
680680
Args:
681681
request (Union[google.cloud.gke_backup_v1.types.CreateBackupPlanRequest, dict]):
682-
The request object. Request message for
683-
CreateBackupPlan.
682+
The request object. Request message for CreateBackupPlan.
684683
parent (str):
685684
Required. The location within which to create the
686685
BackupPlan. Format: ``projects/*/locations/*``
@@ -1041,8 +1040,7 @@ def sample_update_backup_plan():
10411040
10421041
Args:
10431042
request (Union[google.cloud.gke_backup_v1.types.UpdateBackupPlanRequest, dict]):
1044-
The request object. Request message for
1045-
UpdateBackupPlan.
1043+
The request object. Request message for UpdateBackupPlan.
10461044
backup_plan (google.cloud.gke_backup_v1.types.BackupPlan):
10471045
Required. A new version of the BackupPlan resource that
10481046
contains updated fields. This may be sparsely populated
@@ -1180,8 +1178,7 @@ def sample_delete_backup_plan():
11801178
11811179
Args:
11821180
request (Union[google.cloud.gke_backup_v1.types.DeleteBackupPlanRequest, dict]):
1183-
The request object. Request message for
1184-
DeleteBackupPlan.
1181+
The request object. Request message for DeleteBackupPlan.
11851182
name (str):
11861183
Required. Fully qualified BackupPlan name. Format:
11871184
``projects/*/locations/*/backupPlans/*``
@@ -2300,8 +2297,7 @@ def sample_list_restore_plans():
23002297
23012298
Args:
23022299
request (Union[google.cloud.gke_backup_v1.types.ListRestorePlansRequest, dict]):
2303-
The request object. Request message for
2304-
ListRestorePlans.
2300+
The request object. Request message for ListRestorePlans.
23052301
parent (str):
23062302
Required. The location that contains the RestorePlans to
23072303
list. Format: ``projects/*/locations/*``
@@ -3527,8 +3523,7 @@ def sample_get_volume_restore():
35273523
35283524
Args:
35293525
request (Union[google.cloud.gke_backup_v1.types.GetVolumeRestoreRequest, dict]):
3530-
The request object. Request message for
3531-
GetVolumeRestore.
3526+
The request object. Request message for GetVolumeRestore.
35323527
name (str):
35333528
Required. Full name of the VolumeRestore resource.
35343529
Format:

google/cloud/gke_backup_v1/services/backup_for_gke/transports/rest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,6 @@ def __call__(
12951295
request (~.gkebackup.CreateRestorePlanRequest):
12961296
The request object. Request message for
12971297
CreateRestorePlan.
1298-
12991298
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13001299
should be retried.
13011300
timeout (float): The timeout for this request.
@@ -1658,7 +1657,6 @@ def __call__(
16581657
request (~.gkebackup.DeleteRestorePlanRequest):
16591658
The request object. Request message for
16601659
DeleteRestorePlan.
1661-
16621660
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16631661
should be retried.
16641662
timeout (float): The timeout for this request.
@@ -2648,7 +2646,6 @@ def __call__(
26482646
request (~.gkebackup.ListVolumeBackupsRequest):
26492647
The request object. Request message for
26502648
ListVolumeBackups.
2651-
26522649
retry (google.api_core.retry.Retry): Designation of what errors, if any,
26532650
should be retried.
26542651
timeout (float): The timeout for this request.
@@ -2740,7 +2737,6 @@ def __call__(
27402737
request (~.gkebackup.ListVolumeRestoresRequest):
27412738
The request object. Request message for
27422739
ListVolumeRestores.
2743-
27442740
retry (google.api_core.retry.Retry): Designation of what errors, if any,
27452741
should be retried.
27462742
timeout (float): The timeout for this request.
@@ -3122,7 +3118,6 @@ def __call__(
31223118
request (~.gkebackup.UpdateRestorePlanRequest):
31233119
The request object. Request message for
31243120
UpdateRestorePlan.
3125-
31263121
retry (google.api_core.retry.Retry): Designation of what errors, if any,
31273122
should be retried.
31283123
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)