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

Commit 107448e

Browse files
docs: Fix formatting of request arg in docstring (#277)
* 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 c7191f3 commit 107448e

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

google/cloud/iam_v2/services/policies/async_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ async def sample_list_policies():
256256
257257
Args:
258258
request (Optional[Union[google.cloud.iam_v2.types.ListPoliciesRequest, dict]]):
259-
The request object. Request message for `ListPolicies`.
259+
The request object. Request message for ``ListPolicies``.
260260
parent (:class:`str`):
261261
Required. The resource that the policy is attached to,
262262
along with the kind of policy to list. Format:
@@ -388,7 +388,7 @@ async def sample_get_policy():
388388
389389
Args:
390390
request (Optional[Union[google.cloud.iam_v2.types.GetPolicyRequest, dict]]):
391-
The request object. Request message for `GetPolicy`.
391+
The request object. Request message for ``GetPolicy``.
392392
name (:class:`str`):
393393
Required. The resource name of the policy to retrieve.
394394
Format:
@@ -512,7 +512,7 @@ async def sample_create_policy():
512512
513513
Args:
514514
request (Optional[Union[google.cloud.iam_v2.types.CreatePolicyRequest, dict]]):
515-
The request object. Request message for `CreatePolicy`.
515+
The request object. Request message for ``CreatePolicy``.
516516
parent (:class:`str`):
517517
Required. The resource that the policy is attached to,
518518
along with the kind of policy to create. Format:
@@ -678,7 +678,7 @@ async def sample_update_policy():
678678
679679
Args:
680680
request (Optional[Union[google.cloud.iam_v2.types.UpdatePolicyRequest, dict]]):
681-
The request object. Request message for `UpdatePolicy`.
681+
The request object. Request message for ``UpdatePolicy``.
682682
retry (google.api_core.retry.Retry): Designation of what errors, if any,
683683
should be retried.
684684
timeout (float): The timeout for this request.
@@ -784,7 +784,7 @@ async def sample_delete_policy():
784784
785785
Args:
786786
request (Optional[Union[google.cloud.iam_v2.types.DeletePolicyRequest, dict]]):
787-
The request object. Request message for `DeletePolicy`.
787+
The request object. Request message for ``DeletePolicy``.
788788
name (:class:`str`):
789789
Required. The resource name of the policy to delete.
790790
Format:

google/cloud/iam_v2/services/policies/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def sample_list_policies():
471471
472472
Args:
473473
request (Union[google.cloud.iam_v2.types.ListPoliciesRequest, dict]):
474-
The request object. Request message for `ListPolicies`.
474+
The request object. Request message for ``ListPolicies``.
475475
parent (str):
476476
Required. The resource that the policy is attached to,
477477
along with the kind of policy to list. Format:
@@ -594,7 +594,7 @@ def sample_get_policy():
594594
595595
Args:
596596
request (Union[google.cloud.iam_v2.types.GetPolicyRequest, dict]):
597-
The request object. Request message for `GetPolicy`.
597+
The request object. Request message for ``GetPolicy``.
598598
name (str):
599599
Required. The resource name of the policy to retrieve.
600600
Format:
@@ -709,7 +709,7 @@ def sample_create_policy():
709709
710710
Args:
711711
request (Union[google.cloud.iam_v2.types.CreatePolicyRequest, dict]):
712-
The request object. Request message for `CreatePolicy`.
712+
The request object. Request message for ``CreatePolicy``.
713713
parent (str):
714714
Required. The resource that the policy is attached to,
715715
along with the kind of policy to create. Format:
@@ -866,7 +866,7 @@ def sample_update_policy():
866866
867867
Args:
868868
request (Union[google.cloud.iam_v2.types.UpdatePolicyRequest, dict]):
869-
The request object. Request message for `UpdatePolicy`.
869+
The request object. Request message for ``UpdatePolicy``.
870870
retry (google.api_core.retry.Retry): Designation of what errors, if any,
871871
should be retried.
872872
timeout (float): The timeout for this request.
@@ -964,7 +964,7 @@ def sample_delete_policy():
964964
965965
Args:
966966
request (Union[google.cloud.iam_v2.types.DeletePolicyRequest, dict]):
967-
The request object. Request message for `DeletePolicy`.
967+
The request object. Request message for ``DeletePolicy``.
968968
name (str):
969969
Required. The resource name of the policy to delete.
970970
Format:

google/cloud/iam_v2beta/services/policies/async_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ async def sample_list_policies():
256256
257257
Args:
258258
request (Optional[Union[google.cloud.iam_v2beta.types.ListPoliciesRequest, dict]]):
259-
The request object. Request message for `ListPolicies`.
259+
The request object. Request message for ``ListPolicies``.
260260
parent (:class:`str`):
261261
Required. The resource that the policy is attached to,
262262
along with the kind of policy to list. Format:
@@ -388,7 +388,7 @@ async def sample_get_policy():
388388
389389
Args:
390390
request (Optional[Union[google.cloud.iam_v2beta.types.GetPolicyRequest, dict]]):
391-
The request object. Request message for `GetPolicy`.
391+
The request object. Request message for ``GetPolicy``.
392392
name (:class:`str`):
393393
Required. The resource name of the policy to retrieve.
394394
Format:
@@ -512,7 +512,7 @@ async def sample_create_policy():
512512
513513
Args:
514514
request (Optional[Union[google.cloud.iam_v2beta.types.CreatePolicyRequest, dict]]):
515-
The request object. Request message for `CreatePolicy`.
515+
The request object. Request message for ``CreatePolicy``.
516516
parent (:class:`str`):
517517
Required. The resource that the policy is attached to,
518518
along with the kind of policy to create. Format:
@@ -678,7 +678,7 @@ async def sample_update_policy():
678678
679679
Args:
680680
request (Optional[Union[google.cloud.iam_v2beta.types.UpdatePolicyRequest, dict]]):
681-
The request object. Request message for `UpdatePolicy`.
681+
The request object. Request message for ``UpdatePolicy``.
682682
retry (google.api_core.retry.Retry): Designation of what errors, if any,
683683
should be retried.
684684
timeout (float): The timeout for this request.
@@ -784,7 +784,7 @@ async def sample_delete_policy():
784784
785785
Args:
786786
request (Optional[Union[google.cloud.iam_v2beta.types.DeletePolicyRequest, dict]]):
787-
The request object. Request message for `DeletePolicy`.
787+
The request object. Request message for ``DeletePolicy``.
788788
name (:class:`str`):
789789
Required. The resource name of the policy to delete.
790790
Format:

google/cloud/iam_v2beta/services/policies/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def sample_list_policies():
469469
470470
Args:
471471
request (Union[google.cloud.iam_v2beta.types.ListPoliciesRequest, dict]):
472-
The request object. Request message for `ListPolicies`.
472+
The request object. Request message for ``ListPolicies``.
473473
parent (str):
474474
Required. The resource that the policy is attached to,
475475
along with the kind of policy to list. Format:
@@ -592,7 +592,7 @@ def sample_get_policy():
592592
593593
Args:
594594
request (Union[google.cloud.iam_v2beta.types.GetPolicyRequest, dict]):
595-
The request object. Request message for `GetPolicy`.
595+
The request object. Request message for ``GetPolicy``.
596596
name (str):
597597
Required. The resource name of the policy to retrieve.
598598
Format:
@@ -707,7 +707,7 @@ def sample_create_policy():
707707
708708
Args:
709709
request (Union[google.cloud.iam_v2beta.types.CreatePolicyRequest, dict]):
710-
The request object. Request message for `CreatePolicy`.
710+
The request object. Request message for ``CreatePolicy``.
711711
parent (str):
712712
Required. The resource that the policy is attached to,
713713
along with the kind of policy to create. Format:
@@ -864,7 +864,7 @@ def sample_update_policy():
864864
865865
Args:
866866
request (Union[google.cloud.iam_v2beta.types.UpdatePolicyRequest, dict]):
867-
The request object. Request message for `UpdatePolicy`.
867+
The request object. Request message for ``UpdatePolicy``.
868868
retry (google.api_core.retry.Retry): Designation of what errors, if any,
869869
should be retried.
870870
timeout (float): The timeout for this request.
@@ -962,7 +962,7 @@ def sample_delete_policy():
962962
963963
Args:
964964
request (Union[google.cloud.iam_v2beta.types.DeletePolicyRequest, dict]):
965-
The request object. Request message for `DeletePolicy`.
965+
The request object. Request message for ``DeletePolicy``.
966966
name (str):
967967
Required. The resource name of the policy to delete.
968968
Format:

0 commit comments

Comments
 (0)