Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Commit 042cc81

Browse files
docs: Fix formatting of request arg in docstring (#211)
* 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: googleapis/googleapis-gen@b2ab4b0 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 7f358cd commit 042cc81

File tree

3 files changed

+12
-31
lines changed

3 files changed

+12
-31
lines changed

google/cloud/orgpolicy_v2/services/org_policy/async_client.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ async def sample_list_constraints():
273273
274274
Args:
275275
request (Optional[Union[google.cloud.orgpolicy_v2.types.ListConstraintsRequest, dict]]):
276-
The request object. The request sent to the
277-
[ListConstraints]
276+
The request object. The request sent to the [ListConstraints]
278277
[google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints]
279278
method.
280279
parent (:class:`str`):
@@ -407,8 +406,7 @@ async def sample_list_policies():
407406
408407
Args:
409408
request (Optional[Union[google.cloud.orgpolicy_v2.types.ListPoliciesRequest, dict]]):
410-
The request object. The request sent to the
411-
[ListPolicies]
409+
The request object. The request sent to the [ListPolicies]
412410
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies]
413411
method.
414412
parent (:class:`str`):
@@ -662,8 +660,7 @@ async def sample_get_effective_policy():
662660
663661
Args:
664662
request (Optional[Union[google.cloud.orgpolicy_v2.types.GetEffectivePolicyRequest, dict]]):
665-
The request object. The request sent to the
666-
[GetEffectivePolicy]
663+
The request object. The request sent to the [GetEffectivePolicy]
667664
[google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy]
668665
method.
669666
name (:class:`str`):
@@ -783,8 +780,7 @@ async def sample_create_policy():
783780
784781
Args:
785782
request (Optional[Union[google.cloud.orgpolicy_v2.types.CreatePolicyRequest, dict]]):
786-
The request object. The request sent to the
787-
[CreatePolicyRequest]
783+
The request object. The request sent to the [CreatePolicyRequest]
788784
[google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy]
789785
method.
790786
parent (:class:`str`):
@@ -917,8 +913,7 @@ async def sample_update_policy():
917913
918914
Args:
919915
request (Optional[Union[google.cloud.orgpolicy_v2.types.UpdatePolicyRequest, dict]]):
920-
The request object. The request sent to the
921-
[UpdatePolicyRequest]
916+
The request object. The request sent to the [UpdatePolicyRequest]
922917
[google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy]
923918
method.
924919
policy (:class:`google.cloud.orgpolicy_v2.types.Policy`):
@@ -1032,8 +1027,7 @@ async def sample_delete_policy():
10321027
10331028
Args:
10341029
request (Optional[Union[google.cloud.orgpolicy_v2.types.DeletePolicyRequest, dict]]):
1035-
The request object. The request sent to the
1036-
[DeletePolicy]
1030+
The request object. The request sent to the [DeletePolicy]
10371031
[google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy]
10381032
method.
10391033
name (:class:`str`):

google/cloud/orgpolicy_v2/services/org_policy/client.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,7 @@ def sample_list_constraints():
518518
519519
Args:
520520
request (Union[google.cloud.orgpolicy_v2.types.ListConstraintsRequest, dict]):
521-
The request object. The request sent to the
522-
[ListConstraints]
521+
The request object. The request sent to the [ListConstraints]
523522
[google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints]
524523
method.
525524
parent (str):
@@ -642,8 +641,7 @@ def sample_list_policies():
642641
643642
Args:
644643
request (Union[google.cloud.orgpolicy_v2.types.ListPoliciesRequest, dict]):
645-
The request object. The request sent to the
646-
[ListPolicies]
644+
The request object. The request sent to the [ListPolicies]
647645
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies]
648646
method.
649647
parent (str):
@@ -877,8 +875,7 @@ def sample_get_effective_policy():
877875
878876
Args:
879877
request (Union[google.cloud.orgpolicy_v2.types.GetEffectivePolicyRequest, dict]):
880-
The request object. The request sent to the
881-
[GetEffectivePolicy]
878+
The request object. The request sent to the [GetEffectivePolicy]
882879
[google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy]
883880
method.
884881
name (str):
@@ -988,8 +985,7 @@ def sample_create_policy():
988985
989986
Args:
990987
request (Union[google.cloud.orgpolicy_v2.types.CreatePolicyRequest, dict]):
991-
The request object. The request sent to the
992-
[CreatePolicyRequest]
988+
The request object. The request sent to the [CreatePolicyRequest]
993989
[google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy]
994990
method.
995991
parent (str):
@@ -1112,8 +1108,7 @@ def sample_update_policy():
11121108
11131109
Args:
11141110
request (Union[google.cloud.orgpolicy_v2.types.UpdatePolicyRequest, dict]):
1115-
The request object. The request sent to the
1116-
[UpdatePolicyRequest]
1111+
The request object. The request sent to the [UpdatePolicyRequest]
11171112
[google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy]
11181113
method.
11191114
policy (google.cloud.orgpolicy_v2.types.Policy):
@@ -1217,8 +1212,7 @@ def sample_delete_policy():
12171212
12181213
Args:
12191214
request (Union[google.cloud.orgpolicy_v2.types.DeletePolicyRequest, dict]):
1220-
The request object. The request sent to the
1221-
[DeletePolicy]
1215+
The request object. The request sent to the [DeletePolicy]
12221216
[google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy]
12231217
method.
12241218
name (str):

google/cloud/orgpolicy_v2/services/org_policy/transports/rest.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ def __call__(
412412
The request object. The request sent to the [CreatePolicyRequest]
413413
[google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy]
414414
method.
415-
416415
retry (google.api_core.retry.Retry): Designation of what errors, if any,
417416
should be retried.
418417
timeout (float): The timeout for this request.
@@ -523,7 +522,6 @@ def __call__(
523522
The request object. The request sent to the [DeletePolicy]
524523
[google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy]
525524
method.
526-
527525
retry (google.api_core.retry.Retry): Designation of what errors, if any,
528526
should be retried.
529527
timeout (float): The timeout for this request.
@@ -608,7 +606,6 @@ def __call__(
608606
The request object. The request sent to the [GetEffectivePolicy]
609607
[google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy]
610608
method.
611-
612609
retry (google.api_core.retry.Retry): Designation of what errors, if any,
613610
should be retried.
614611
timeout (float): The timeout for this request.
@@ -709,7 +706,6 @@ def __call__(
709706
request (~.orgpolicy.GetPolicyRequest):
710707
The request object. The request sent to the [GetPolicy]
711708
[google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method.
712-
713709
retry (google.api_core.retry.Retry): Designation of what errors, if any,
714710
should be retried.
715711
timeout (float): The timeout for this request.
@@ -809,7 +805,6 @@ def __call__(
809805
The request object. The request sent to the [ListConstraints]
810806
[google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints]
811807
method.
812-
813808
retry (google.api_core.retry.Retry): Designation of what errors, if any,
814809
should be retried.
815810
timeout (float): The timeout for this request.
@@ -911,7 +906,6 @@ def __call__(
911906
The request object. The request sent to the [ListPolicies]
912907
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies]
913908
method.
914-
915909
retry (google.api_core.retry.Retry): Designation of what errors, if any,
916910
should be retried.
917911
timeout (float): The timeout for this request.
@@ -1012,7 +1006,6 @@ def __call__(
10121006
The request object. The request sent to the [UpdatePolicyRequest]
10131007
[google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy]
10141008
method.
1015-
10161009
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10171010
should be retried.
10181011
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)