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

Commit 4db3679

Browse files
docs: Fix formatting of request arg in docstring (#93)
* 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 37ae3d8 commit 4db3679

File tree

15 files changed

+40
-67
lines changed

15 files changed

+40
-67
lines changed

google/cloud/run_v2/services/executions/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ async def sample_list_executions():
373373
374374
Args:
375375
request (Optional[Union[google.cloud.run_v2.types.ListExecutionsRequest, dict]]):
376-
The request object. Request message for retrieving a
377-
list of Executions.
376+
The request object. Request message for retrieving a list
377+
of Executions.
378378
parent (:class:`str`):
379379
Required. The Execution from which
380380
the Executions should be listed. To list

google/cloud/run_v2/services/executions/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ def sample_list_executions():
705705
706706
Args:
707707
request (Union[google.cloud.run_v2.types.ListExecutionsRequest, dict]):
708-
The request object. Request message for retrieving a
709-
list of Executions.
708+
The request object. Request message for retrieving a list
709+
of Executions.
710710
parent (str):
711711
Required. The Execution from which
712712
the Executions should be listed. To list

google/cloud/run_v2/services/executions/transports/rest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ def __call__(
439439
request (~.execution.DeleteExecutionRequest):
440440
The request object. Request message for deleting an
441441
Execution.
442-
443442
retry (google.api_core.retry.Retry): Designation of what errors, if any,
444443
should be retried.
445444
timeout (float): The timeout for this request.
@@ -530,7 +529,6 @@ def __call__(
530529
request (~.execution.GetExecutionRequest):
531530
The request object. Request message for obtaining a
532531
Execution by its full name.
533-
534532
retry (google.api_core.retry.Retry): Designation of what errors, if any,
535533
should be retried.
536534
timeout (float): The timeout for this request.
@@ -623,7 +621,6 @@ def __call__(
623621
request (~.execution.ListExecutionsRequest):
624622
The request object. Request message for retrieving a list
625623
of Executions.
626-
627624
retry (google.api_core.retry.Retry): Designation of what errors, if any,
628625
should be retried.
629626
timeout (float): The timeout for this request.

google/cloud/run_v2/services/jobs/async_client.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ async def sample_list_jobs():
514514
515515
Args:
516516
request (Optional[Union[google.cloud.run_v2.types.ListJobsRequest, dict]]):
517-
The request object. Request message for retrieving a
518-
list of Jobs.
517+
The request object. Request message for retrieving a list
518+
of Jobs.
519519
parent (:class:`str`):
520520
Required. The location and project to
521521
list resources on. Format:
@@ -988,8 +988,7 @@ async def sample_get_iam_policy():
988988
989989
Args:
990990
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
991-
The request object. Request message for `GetIamPolicy`
992-
method.
991+
The request object. Request message for ``GetIamPolicy`` method.
993992
retry (google.api_core.retry.Retry): Designation of what errors, if any,
994993
should be retried.
995994
timeout (float): The timeout for this request.
@@ -1132,8 +1131,7 @@ async def sample_set_iam_policy():
11321131
11331132
Args:
11341133
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1135-
The request object. Request message for `SetIamPolicy`
1136-
method.
1134+
The request object. Request message for ``SetIamPolicy`` method.
11371135
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11381136
should be retried.
11391137
timeout (float): The timeout for this request.
@@ -1279,8 +1277,7 @@ async def sample_test_iam_permissions():
12791277
12801278
Args:
12811279
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1282-
The request object. Request message for
1283-
`TestIamPermissions` method.
1280+
The request object. Request message for ``TestIamPermissions`` method.
12841281
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12851282
should be retried.
12861283
timeout (float): The timeout for this request.

google/cloud/run_v2/services/jobs/client.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -850,8 +850,8 @@ def sample_list_jobs():
850850
851851
Args:
852852
request (Union[google.cloud.run_v2.types.ListJobsRequest, dict]):
853-
The request object. Request message for retrieving a
854-
list of Jobs.
853+
The request object. Request message for retrieving a list
854+
of Jobs.
855855
parent (str):
856856
Required. The location and project to
857857
list resources on. Format:
@@ -1324,8 +1324,7 @@ def sample_get_iam_policy():
13241324
13251325
Args:
13261326
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
1327-
The request object. Request message for `GetIamPolicy`
1328-
method.
1327+
The request object. Request message for ``GetIamPolicy`` method.
13291328
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13301329
should be retried.
13311330
timeout (float): The timeout for this request.
@@ -1467,8 +1466,7 @@ def sample_set_iam_policy():
14671466
14681467
Args:
14691468
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1470-
The request object. Request message for `SetIamPolicy`
1471-
method.
1469+
The request object. Request message for ``SetIamPolicy`` method.
14721470
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14731471
should be retried.
14741472
timeout (float): The timeout for this request.
@@ -1613,8 +1611,7 @@ def sample_test_iam_permissions():
16131611
16141612
Args:
16151613
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
1616-
The request object. Request message for
1617-
`TestIamPermissions` method.
1614+
The request object. Request message for ``TestIamPermissions`` method.
16181615
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16191616
should be retried.
16201617
timeout (float): The timeout for this request.

google/cloud/run_v2/services/jobs/transports/rest.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,6 @@ def __call__(
708708
request (~.job.DeleteJobRequest):
709709
The request object. Request message to delete a Job by
710710
its full name.
711-
712711
retry (google.api_core.retry.Retry): Designation of what errors, if any,
713712
should be retried.
714713
timeout (float): The timeout for this request.
@@ -958,7 +957,6 @@ def __call__(
958957
request (~.job.GetJobRequest):
959958
The request object. Request message for obtaining a Job
960959
by its full name.
961-
962960
retry (google.api_core.retry.Retry): Designation of what errors, if any,
963961
should be retried.
964962
timeout (float): The timeout for this request.
@@ -1049,7 +1047,6 @@ def __call__(
10491047
request (~.job.ListJobsRequest):
10501048
The request object. Request message for retrieving a list
10511049
of Jobs.
1052-
10531050
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10541051
should be retried.
10551052
timeout (float): The timeout for this request.
@@ -1139,7 +1136,6 @@ def __call__(
11391136
request (~.job.RunJobRequest):
11401137
The request object. Request message to create a new
11411138
Execution of a Job.
1142-
11431139
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11441140
should be retried.
11451141
timeout (float): The timeout for this request.

google/cloud/run_v2/services/revisions/async_client.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ async def sample_list_revisions():
373373
374374
Args:
375375
request (Optional[Union[google.cloud.run_v2.types.ListRevisionsRequest, dict]]):
376-
The request object. Request message for retrieving a
377-
list of Revisions.
376+
The request object. Request message for retrieving a list
377+
of Revisions.
378378
parent (:class:`str`):
379379
Required. The Service from which the
380380
Revisions should be listed. To list all
@@ -495,9 +495,10 @@ async def sample_delete_revision():
495495
Args:
496496
request (Optional[Union[google.cloud.run_v2.types.DeleteRevisionRequest, dict]]):
497497
The request object. Request message for deleting a
498-
retired Revision. Revision lifecycle is usually managed
499-
by making changes to the parent Service. Only retired
500-
revisions can be deleted with this API.
498+
retired Revision. Revision lifecycle is
499+
usually managed by making changes to the
500+
parent Service. Only retired revisions
501+
can be deleted with this API.
501502
name (:class:`str`):
502503
Required. The name of the Revision to
503504
delete. Format:

google/cloud/run_v2/services/revisions/client.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,8 @@ def sample_list_revisions():
713713
714714
Args:
715715
request (Union[google.cloud.run_v2.types.ListRevisionsRequest, dict]):
716-
The request object. Request message for retrieving a
717-
list of Revisions.
716+
The request object. Request message for retrieving a list
717+
of Revisions.
718718
parent (str):
719719
Required. The Service from which the
720720
Revisions should be listed. To list all
@@ -843,9 +843,10 @@ def sample_delete_revision():
843843
Args:
844844
request (Union[google.cloud.run_v2.types.DeleteRevisionRequest, dict]):
845845
The request object. Request message for deleting a
846-
retired Revision. Revision lifecycle is usually managed
847-
by making changes to the parent Service. Only retired
848-
revisions can be deleted with this API.
846+
retired Revision. Revision lifecycle is
847+
usually managed by making changes to the
848+
parent Service. Only retired revisions
849+
can be deleted with this API.
849850
name (str):
850851
Required. The name of the Revision to
851852
delete. Format:

google/cloud/run_v2/services/revisions/transports/rest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ def __call__(
440440
usually managed by making changes to the
441441
parent Service. Only retired revisions
442442
can be deleted with this API.
443-
444443
retry (google.api_core.retry.Retry): Designation of what errors, if any,
445444
should be retried.
446445
timeout (float): The timeout for this request.
@@ -529,7 +528,6 @@ def __call__(
529528
request (~.revision.GetRevisionRequest):
530529
The request object. Request message for obtaining a
531530
Revision by its full name.
532-
533531
retry (google.api_core.retry.Retry): Designation of what errors, if any,
534532
should be retried.
535533
timeout (float): The timeout for this request.
@@ -622,7 +620,6 @@ def __call__(
622620
request (~.revision.ListRevisionsRequest):
623621
The request object. Request message for retrieving a list
624622
of Revisions.
625-
626623
retry (google.api_core.retry.Retry): Designation of what errors, if any,
627624
should be retried.
628625
timeout (float): The timeout for this request.

google/cloud/run_v2/services/services/async_client.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,8 @@ async def sample_list_services():
539539
540540
Args:
541541
request (Optional[Union[google.cloud.run_v2.types.ListServicesRequest, dict]]):
542-
The request object. Request message for retrieving a
543-
list of Services.
542+
The request object. Request message for retrieving a list
543+
of Services.
544544
parent (:class:`str`):
545545
Required. The location and project to
546546
list resources on. Location must be a
@@ -915,8 +915,7 @@ async def sample_get_iam_policy():
915915
916916
Args:
917917
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
918-
The request object. Request message for `GetIamPolicy`
919-
method.
918+
The request object. Request message for ``GetIamPolicy`` method.
920919
retry (google.api_core.retry.Retry): Designation of what errors, if any,
921920
should be retried.
922921
timeout (float): The timeout for this request.
@@ -1059,8 +1058,7 @@ async def sample_set_iam_policy():
10591058
10601059
Args:
10611060
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1062-
The request object. Request message for `SetIamPolicy`
1063-
method.
1061+
The request object. Request message for ``SetIamPolicy`` method.
10641062
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10651063
should be retried.
10661064
timeout (float): The timeout for this request.
@@ -1206,8 +1204,7 @@ async def sample_test_iam_permissions():
12061204
12071205
Args:
12081206
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1209-
The request object. Request message for
1210-
`TestIamPermissions` method.
1207+
The request object. Request message for ``TestIamPermissions`` method.
12111208
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12121209
should be retried.
12131210
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)