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

Commit 925d05a

Browse files
docs: Fix formatting of request arg in docstring (#409)
* 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 7a35167 commit 925d05a

File tree

6 files changed

+12
-48
lines changed

6 files changed

+12
-48
lines changed

google/cloud/secretmanager_v1/services/secret_manager_service/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,8 +1658,7 @@ async def sample_set_iam_policy():
16581658
16591659
Args:
16601660
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1661-
The request object. Request message for `SetIamPolicy`
1662-
method.
1661+
The request object. Request message for ``SetIamPolicy`` method.
16631662
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16641663
should be retried.
16651664
timeout (float): The timeout for this request.
@@ -1803,8 +1802,7 @@ async def sample_get_iam_policy():
18031802
18041803
Args:
18051804
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
1806-
The request object. Request message for `GetIamPolicy`
1807-
method.
1805+
The request object. Request message for ``GetIamPolicy`` method.
18081806
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18091807
should be retried.
18101808
timeout (float): The timeout for this request.
@@ -1954,8 +1952,7 @@ async def sample_test_iam_permissions():
19541952
19551953
Args:
19561954
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1957-
The request object. Request message for
1958-
`TestIamPermissions` method.
1955+
The request object. Request message for ``TestIamPermissions`` method.
19591956
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19601957
should be retried.
19611958
timeout (float): The timeout for this request.

google/cloud/secretmanager_v1/services/secret_manager_service/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,8 +1904,7 @@ def sample_set_iam_policy():
19041904
19051905
Args:
19061906
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1907-
The request object. Request message for `SetIamPolicy`
1908-
method.
1907+
The request object. Request message for ``SetIamPolicy`` method.
19091908
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19101909
should be retried.
19111910
timeout (float): The timeout for this request.
@@ -2048,8 +2047,7 @@ def sample_get_iam_policy():
20482047
20492048
Args:
20502049
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
2051-
The request object. Request message for `GetIamPolicy`
2052-
method.
2050+
The request object. Request message for ``GetIamPolicy`` method.
20532051
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20542052
should be retried.
20552053
timeout (float): The timeout for this request.
@@ -2198,8 +2196,7 @@ def sample_test_iam_permissions():
21982196
21992197
Args:
22002198
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
2201-
The request object. Request message for
2202-
`TestIamPermissions` method.
2199+
The request object. Request message for ``TestIamPermissions`` method.
22032200
retry (google.api_core.retry.Retry): Designation of what errors, if any,
22042201
should be retried.
22052202
timeout (float): The timeout for this request.

google/cloud/secretmanager_v1/services/secret_manager_service/transports/rest.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ def __call__(
634634
request (~.service.AccessSecretVersionRequest):
635635
The request object. Request message for
636636
[SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion].
637-
638637
retry (google.api_core.retry.Retry): Designation of what errors, if any,
639638
should be retried.
640639
timeout (float): The timeout for this request.
@@ -726,7 +725,6 @@ def __call__(
726725
request (~.service.AddSecretVersionRequest):
727726
The request object. Request message for
728727
[SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion].
729-
730728
retry (google.api_core.retry.Retry): Designation of what errors, if any,
731729
should be retried.
732730
timeout (float): The timeout for this request.
@@ -829,7 +827,6 @@ def __call__(
829827
request (~.service.CreateSecretRequest):
830828
The request object. Request message for
831829
[SecretManagerService.CreateSecret][google.cloud.secretmanager.v1.SecretManagerService.CreateSecret].
832-
833830
retry (google.api_core.retry.Retry): Designation of what errors, if any,
834831
should be retried.
835832
timeout (float): The timeout for this request.
@@ -933,7 +930,6 @@ def __call__(
933930
request (~.service.DeleteSecretRequest):
934931
The request object. Request message for
935932
[SecretManagerService.DeleteSecret][google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret].
936-
937933
retry (google.api_core.retry.Retry): Designation of what errors, if any,
938934
should be retried.
939935
timeout (float): The timeout for this request.
@@ -1009,7 +1005,6 @@ def __call__(
10091005
request (~.service.DestroySecretVersionRequest):
10101006
The request object. Request message for
10111007
[SecretManagerService.DestroySecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion].
1012-
10131008
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10141009
should be retried.
10151010
timeout (float): The timeout for this request.
@@ -1110,7 +1105,6 @@ def __call__(
11101105
request (~.service.DisableSecretVersionRequest):
11111106
The request object. Request message for
11121107
[SecretManagerService.DisableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion].
1113-
11141108
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11151109
should be retried.
11161110
timeout (float): The timeout for this request.
@@ -1211,7 +1205,6 @@ def __call__(
12111205
request (~.service.EnableSecretVersionRequest):
12121206
The request object. Request message for
12131207
[SecretManagerService.EnableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion].
1214-
12151208
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12161209
should be retried.
12171210
timeout (float): The timeout for this request.
@@ -1473,7 +1466,6 @@ def __call__(
14731466
request (~.service.GetSecretRequest):
14741467
The request object. Request message for
14751468
[SecretManagerService.GetSecret][google.cloud.secretmanager.v1.SecretManagerService.GetSecret].
1476-
14771469
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14781470
should be retried.
14791471
timeout (float): The timeout for this request.
@@ -1568,7 +1560,6 @@ def __call__(
15681560
request (~.service.GetSecretVersionRequest):
15691561
The request object. Request message for
15701562
[SecretManagerService.GetSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion].
1571-
15721563
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15731564
should be retried.
15741565
timeout (float): The timeout for this request.
@@ -1660,7 +1651,6 @@ def __call__(
16601651
request (~.service.ListSecretsRequest):
16611652
The request object. Request message for
16621653
[SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets].
1663-
16641654
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16651655
should be retried.
16661656
timeout (float): The timeout for this request.
@@ -1750,7 +1740,6 @@ def __call__(
17501740
request (~.service.ListSecretVersionsRequest):
17511741
The request object. Request message for
17521742
[SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions].
1753-
17541743
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17551744
should be retried.
17561745
timeout (float): The timeout for this request.
@@ -2111,7 +2100,6 @@ def __call__(
21112100
request (~.service.UpdateSecretRequest):
21122101
The request object. Request message for
21132102
[SecretManagerService.UpdateSecret][google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret].
2114-
21152103
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21162104
should be retried.
21172105
timeout (float): The timeout for this request.

google/cloud/secretmanager_v1beta1/services/secret_manager_service/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,8 +1646,7 @@ async def sample_set_iam_policy():
16461646
16471647
Args:
16481648
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1649-
The request object. Request message for `SetIamPolicy`
1650-
method.
1649+
The request object. Request message for ``SetIamPolicy`` method.
16511650
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16521651
should be retried.
16531652
timeout (float): The timeout for this request.
@@ -1791,8 +1790,7 @@ async def sample_get_iam_policy():
17911790
17921791
Args:
17931792
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
1794-
The request object. Request message for `GetIamPolicy`
1795-
method.
1793+
The request object. Request message for ``GetIamPolicy`` method.
17961794
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17971795
should be retried.
17981796
timeout (float): The timeout for this request.
@@ -1942,8 +1940,7 @@ async def sample_test_iam_permissions():
19421940
19431941
Args:
19441942
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1945-
The request object. Request message for
1946-
`TestIamPermissions` method.
1943+
The request object. Request message for ``TestIamPermissions`` method.
19471944
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19481945
should be retried.
19491946
timeout (float): The timeout for this request.

google/cloud/secretmanager_v1beta1/services/secret_manager_service/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,8 +1877,7 @@ def sample_set_iam_policy():
18771877
18781878
Args:
18791879
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1880-
The request object. Request message for `SetIamPolicy`
1881-
method.
1880+
The request object. Request message for ``SetIamPolicy`` method.
18821881
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18831882
should be retried.
18841883
timeout (float): The timeout for this request.
@@ -2021,8 +2020,7 @@ def sample_get_iam_policy():
20212020
20222021
Args:
20232022
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
2024-
The request object. Request message for `GetIamPolicy`
2025-
method.
2023+
The request object. Request message for ``GetIamPolicy`` method.
20262024
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20272025
should be retried.
20282026
timeout (float): The timeout for this request.
@@ -2171,8 +2169,7 @@ def sample_test_iam_permissions():
21712169
21722170
Args:
21732171
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
2174-
The request object. Request message for
2175-
`TestIamPermissions` method.
2172+
The request object. Request message for ``TestIamPermissions`` method.
21762173
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21772174
should be retried.
21782175
timeout (float): The timeout for this request.

google/cloud/secretmanager_v1beta1/services/secret_manager_service/transports/rest.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ def __call__(
634634
request (~.service.AccessSecretVersionRequest):
635635
The request object. Request message for
636636
[SecretManagerService.AccessSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.AccessSecretVersion].
637-
638637
retry (google.api_core.retry.Retry): Designation of what errors, if any,
639638
should be retried.
640639
timeout (float): The timeout for this request.
@@ -726,7 +725,6 @@ def __call__(
726725
request (~.service.AddSecretVersionRequest):
727726
The request object. Request message for
728727
[SecretManagerService.AddSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.AddSecretVersion].
729-
730728
retry (google.api_core.retry.Retry): Designation of what errors, if any,
731729
should be retried.
732730
timeout (float): The timeout for this request.
@@ -829,7 +827,6 @@ def __call__(
829827
request (~.service.CreateSecretRequest):
830828
The request object. Request message for
831829
[SecretManagerService.CreateSecret][google.cloud.secrets.v1beta1.SecretManagerService.CreateSecret].
832-
833830
retry (google.api_core.retry.Retry): Designation of what errors, if any,
834831
should be retried.
835832
timeout (float): The timeout for this request.
@@ -933,7 +930,6 @@ def __call__(
933930
request (~.service.DeleteSecretRequest):
934931
The request object. Request message for
935932
[SecretManagerService.DeleteSecret][google.cloud.secrets.v1beta1.SecretManagerService.DeleteSecret].
936-
937933
retry (google.api_core.retry.Retry): Designation of what errors, if any,
938934
should be retried.
939935
timeout (float): The timeout for this request.
@@ -1009,7 +1005,6 @@ def __call__(
10091005
request (~.service.DestroySecretVersionRequest):
10101006
The request object. Request message for
10111007
[SecretManagerService.DestroySecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.DestroySecretVersion].
1012-
10131008
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10141009
should be retried.
10151010
timeout (float): The timeout for this request.
@@ -1110,7 +1105,6 @@ def __call__(
11101105
request (~.service.DisableSecretVersionRequest):
11111106
The request object. Request message for
11121107
[SecretManagerService.DisableSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.DisableSecretVersion].
1113-
11141108
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11151109
should be retried.
11161110
timeout (float): The timeout for this request.
@@ -1211,7 +1205,6 @@ def __call__(
12111205
request (~.service.EnableSecretVersionRequest):
12121206
The request object. Request message for
12131207
[SecretManagerService.EnableSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.EnableSecretVersion].
1214-
12151208
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12161209
should be retried.
12171210
timeout (float): The timeout for this request.
@@ -1473,7 +1466,6 @@ def __call__(
14731466
request (~.service.GetSecretRequest):
14741467
The request object. Request message for
14751468
[SecretManagerService.GetSecret][google.cloud.secrets.v1beta1.SecretManagerService.GetSecret].
1476-
14771469
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14781470
should be retried.
14791471
timeout (float): The timeout for this request.
@@ -1568,7 +1560,6 @@ def __call__(
15681560
request (~.service.GetSecretVersionRequest):
15691561
The request object. Request message for
15701562
[SecretManagerService.GetSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.GetSecretVersion].
1571-
15721563
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15731564
should be retried.
15741565
timeout (float): The timeout for this request.
@@ -1660,7 +1651,6 @@ def __call__(
16601651
request (~.service.ListSecretsRequest):
16611652
The request object. Request message for
16621653
[SecretManagerService.ListSecrets][google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets].
1663-
16641654
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16651655
should be retried.
16661656
timeout (float): The timeout for this request.
@@ -1750,7 +1740,6 @@ def __call__(
17501740
request (~.service.ListSecretVersionsRequest):
17511741
The request object. Request message for
17521742
[SecretManagerService.ListSecretVersions][google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions].
1753-
17541743
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17551744
should be retried.
17561745
timeout (float): The timeout for this request.
@@ -2111,7 +2100,6 @@ def __call__(
21112100
request (~.service.UpdateSecretRequest):
21122101
The request object. Request message for
21132102
[SecretManagerService.UpdateSecret][google.cloud.secrets.v1beta1.SecretManagerService.UpdateSecret].
2114-
21152103
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21162104
should be retried.
21172105
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)