8000 docs: Fix formatting of request arg in docstring (#472) · googleapis/python-datacatalog@99ea7ba · GitHub
[go: up one dir, main page]

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

Commit 99ea7ba

Browse files
docs: Fix formatting of request arg in docstring (#472)
* 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 9cbdad3 commit 99ea7ba

File tree

8 files changed

+24
-48
lines changed

8 files changed

+24
-48
lines changed

google/cloud/datacatalog_v1/services/data_catalog/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3970,8 +3970,7 @@ async def sample_set_iam_policy():
39703970
39713971
Args:
39723972
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
3973-
The request object. Request message for `SetIamPolicy`
3974-
method.
3973+
The request object. Request message for ``SetIamPolicy`` method.
39753974
resource (:class:`str`):
39763975
REQUIRED: The resource for which the
39773976
policy is being specified. See the
@@ -4159,8 +4158,7 @@ async def sample_get_iam_policy():
41594158
41604159
Args:
41614160
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
4162-
The request object. Request message for `GetIamPolicy`
4163-
method.
4161+
The request object. Request message for ``GetIamPolicy`` method.
41644162
resource (:class:`str`):
41654163
REQUIRED: The resource for which the
41664164
policy is being requested. See the
@@ -4347,8 +4345,7 @@ async def sample_test_iam_permissions():
43474345
43484346
Args:
43494347
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
4350-
The request object. Request message for
4351-
`TestIamPermissions` method.
4348+
The request object. Request message for ``TestIamPermissions`` method.
43524349
retry (google.api_core.retry.Retry): Designation of what errors, if any,
43534350
should be retried.
43544351
timeout (float): The timeout for this request.

google/cloud/datacatalog_v1/services/data_catalog/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4258,8 +4258,7 @@ def sample_set_iam_policy():
42584258
42594259
Args:
42604260
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
4261-
The request object. Request message for `SetIamPolicy`
4262-
method.
4261+
The request object. Request message for ``SetIamPolicy`` method.
42634262
resource (str):
42644263
REQUIRED: The resource for which the
42654264
policy is being specified. See the
@@ -4444,8 +4443,7 @@ def sample_get_iam_policy():
44444443
44454444
Args:
44464445
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
4447-
The request object. Request message for `GetIamPolicy`
4448-
method.
4446+
The request object. Request message for ``GetIamPolicy`` method.
44494447
resource (str):
44504448
REQUIRED: The resource for which the
44514449
policy is being requested. See the
@@ -4620,8 +4618,7 @@ def sample_test_iam_permissions():
46204618
46214619
Args:
46224620
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
4623-
The request object. Request message for
4624-
`TestIamPermissions` method.
4621+
The request object. Request message for ``TestIamPermissions`` method.
46254622
retry (google.api_core.retry.Retry): Designation of what errors, if any,
46264623
should be retried.
46274624
timeout (float): The timeout for this request.
629B

google/cloud/datacatalog_v1/services/policy_tag_manager/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,8 +1376,7 @@ async def sample_get_iam_policy():
13761376
13771377
Args:
13781378
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
1379-
The request object. Request message for `GetIamPolicy`
1380-
method.
1379+
The request object. Request message for ``GetIamPolicy`` method.
13811380
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13821381
should be retried.
13831382
timeout (float): The timeout for this request.
@@ -1519,8 +1518,7 @@ async def sample_set_iam_policy():
15191518
15201519
Args:
15211520
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1522-
The request object. Request message for `SetIamPolicy`
1523-
method.
1521+
The request object. Request message for ``SetIamPolicy`` method.
15241522
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15251523
should be retried.
15261524
timeout (float): The timeout for this request.
@@ -1664,8 +1662,7 @@ async def sample_test_iam_permissions():
16641662
16651663
Args:
16661664
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1667-
The request object. Request message for
1668-
`TestIamPermissions` method.
1665+
The request object. Request message for ``TestIamPermissions`` method.
16691666
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16701667
should be retried.
16711668
timeout (float): The timeout for this request.

google/cloud/datacatalog_v1/services/policy_tag_manager/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,8 +1625,7 @@ def sample_get_iam_policy():
16251625
16261626
Args:
16271627
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
1628-
The request object. Request message for `GetIamPolicy`
1629-
method.
1628+
The request object. Request message for ``GetIamPolicy`` method.
16301629
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16311630
should be retried.
16321631
timeout (float): The timeout for this request.
@@ -1767,8 +1766,7 @@ def sample_set_iam_policy():
17671766
17681767
Args:
17691768
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1770-
The request object. Request message for `SetIamPolicy`
1771-
method.
1769+
The request object. Request message for ``SetIamPolicy`` method.
17721770
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17731771
should be retried.
17741772
timeout (float): The timeout for this request.
@@ -1911,8 +1909,7 @@ def sample_test_iam_permissions():
19111909
19121910
Args:
19131911
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
1914-
The request object. Request message for
1915-
`TestIamPermissions` method.
1912+
The request object. Request message for ``TestIamPermissions`` method.
19161913
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19171914
should be retried.
19181915
timeout (float): The timeout for this request.

google/cloud/datacatalog_v1beta1/services/data_catalog/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3333,8 +3333,7 @@ async def sample_set_iam_policy():
33333333
33343334
Args:
33353335
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
3336-
The request object. Request message for `SetIamPolicy`
3337-
method.
3336+
The request object. Request message for ``SetIamPolicy`` method.
33383337
resource (:class:`str`):
33393338
REQUIRED: The resource for which the
33403339
policy is being specified. See the
@@ -3519,8 +3518,7 @@ async def sample_get_iam_policy():
35193518
35203519
Args:
35213520
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
3522-
The request object. Request message for `GetIamPolicy`
3523-
method.
3521+
The request object. Request message for ``GetIamPolicy`` method.
35243522
resource (:class:`str`):
35253523
REQUIRED: The resource for which the
35263524
policy is being requested. See the
@@ -3698,8 +3696,7 @@ async def sample_test_iam_permissions():
36983696
36993697
Args:
37003698
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
3701-
The request object. Request message for
3702-
`TestIamPermissions` method.
3699+
The request object. Request message for ``TestIamPermissions`` method.
37033700
retry (google.api_core.retry.Retry): Designation of what errors, if any,
37043701
should be retried.
37053702
timeout (float): The timeout for this request.

google/cloud/datacatalog_v1beta1/services/data_catalog/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3559,8 +3559,7 @@ def sample_set_iam_policy():
35593559
35603560
Args:
35613561
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
3562-
The request object. Request message for `SetIamPolicy`
3563-
method.
3562+
The request object. Request message for ``SetIamPolicy`` method.
35643563
resource (str):
35653564
REQUIRED: The resource for which the
35663565
policy is being specified. See the
@@ -3742,8 +3741,7 @@ def sample_get_iam_policy():
37423741
37433742
Args:
37443743
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
3745-
The request object. Request message for `GetIamPolicy`
3746-
method.
3744+
The request object. Request message for ``GetIamPolicy`` method.
37473745
resource (str):
37483746
REQUIRED: The resource for which the
37493747
policy is being requested. See the
@@ -3918,8 +3916,7 @@ def sample_test_iam_permissions():
39183916
39193917
Args:
39203918
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
3921-
The request object. Request message for
3922-
`TestIamPermissions` method.
3919+
The request object. Request message for ``TestIamPermissions`` method.
39233920
retry (google.api_core.retry.Retry): Designation of what errors, if any,
39243921
should be retried.
39253922
timeout (float): The timeout for this request.

google/cloud/datacatalog_v1beta1/services/policy_tag_manager/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,8 +1339,7 @@ async def sample_get_iam_policy():
13391339
13401340
Args:
13411341
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
1342-
The request object. Request message for `GetIamPolicy`
1343-
method.
1342+
The request object. Request message for ``GetIamPolicy`` method.
13441343
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13451344
should be retried.
13461345
timeout (float): The timeout for this request.
@@ -1482,8 +1481,7 @@ async def sample_set_iam_policy():
14821481
14831482
Args:
14841483
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1485-
The request object. Request message for `SetIamPolicy`
1486-
method.
1484+
The request object. Request message for ``SetIamPolicy`` method.
14871485
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14881486
should be retried.
14891487
timeout (float): The timeout for this request.
@@ -1627,8 +1625,7 @@ async def sample_test_iam_permissions():
16271625
16281626
Args:
16291627
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1630-
The request object. Request message for
1631-
`TestIamPermissions` method.
1628+
The request object. Request message for ``TestIamPermissions`` method.
16321629
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16331630
should be retried.
16341631
timeout (float): The timeout for this request.

google/cloud/datacatalog_v1beta1/services/policy_tag_manager/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,8 +1588,7 @@ def sample_get_iam_policy():
15881588
15891589
Args:
15901590
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
1591-
The request object. Request message for `GetIamPolicy`
1592-
method.
1591+
The request object. Request message for ``GetIamPolicy`` method.
15931592
retry (google.api_core.retry.Retry): Designation of what errors, if any,
15941593
should be retried.
15951594
timeout (float): The timeout for this request.
@@ -1730,8 +1729,7 @@ def sample_set_iam_policy():
17301729
17311730
Args:
17321731
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1733-
The request object. Request message for `SetIamPolicy`
1734-
method.
1732+
The request object. Request message for ``SetIamPolicy`` method.
17351733
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17361734
should be retried.
17371735
timeout (float): The timeout for this request.
@@ -1874,8 +1872,7 @@ def sample_test_iam_permissions():
18741872
18751873
Args:
18761874
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
1877-
The request object. Request message for
1878-
`TestIamPermissions` method.
1875+
The request object. Request message for ``TestIamPermissions`` method.
18791876
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18801877
should be retried.
18811878
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)
0