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

Commit f58475d

Browse files
docs: Fix formatting of request arg in docstring (#370)
* 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 e3d4a72 commit f58475d

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

google/cloud/devtools/containeranalysis_v1/services/container_analysis/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,7 @@ async def sample_set_iam_policy():
293293
294294
Args:
295295
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
296-
The request object. Request message for `SetIamPolicy`
297-
method.
296+
The request object. Request message for ``SetIamPolicy`` method.
298297
resource (:class:`str`):
299298
REQUIRED: The resource for which the
300299
policy is being specified. See the
@@ -467,8 +466,7 @@ async def sample_get_iam_policy():
467466
468467
Args:
469468
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
470-
The request object. Request message for `GetIamPolicy`
471-
method.
469+
The request object. Request message for ``GetIamPolicy`` method.
472470
resource (:class:`str`):
473471
REQUIRED: The resource for which the
474472
policy is being requested. See the
@@ -642,8 +640,7 @@ async def sample_test_iam_permissions():
642640
643641
Args:
644642
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
645-
The request object. Request message for
646-
`TestIamPermissions` method.
643+
The request object. Request message for ``TestIamPermissions`` method.
647644
resource (:class:`str`):
648645
REQUIRED: The resource for which the
649646
policy detail is being requested. See

google/cloud/devtools/containeranalysis_v1/services/container_analysis/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,7 @@ def sample_set_iam_policy():
502502
503503
Args:
504504
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
505-
The request object. Request message for `SetIamPolicy`
506-
method.
505+
The request object. Request message for ``SetIamPolicy`` method.
507506
resource (str):
508507
REQUIRED: The resource for which the
509508
policy is being specified. See the
@@ -673,8 +672,7 @@ def sample_get_iam_policy():
673672
674673
Args:
675674
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
676-
The request object. Request message for `GetIamPolicy`
677-
method.
675+
The request object. Request message for ``GetIamPolicy`` method.
678676
resource (str):
679677
REQUIRED: The resource for which the
680678
policy is being requested. See the
@@ -845,8 +843,7 @@ def sample_test_iam_permissions():
845843
846844
Args:
847845
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
848-
The request object. Request message for
849-
`TestIamPermissions` method.
846+
The request object. Request message for ``TestIamPermissions`` method.
850847
resource (str):
851848
REQUIRED: The resource for which the
852849
policy detail is being requested. See

google/cloud/devtools/containeranalysis_v1/services/container_analysis/transports/rest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ def __call__(
510510
request (~.containeranalysis.GetVulnerabilityOccurrencesSummaryRequest):
511511
The request object. Request to get a vulnerability
512512
summary for some set of occurrences.
513-
514513
retry (google.api_core.retry.Retry): Designation of what errors, if any,
515514
should be retried.
516515
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)