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

Commit 3ebb439

Browse files
docs: Fix formatting of request arg in docstring (#131)
* 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 d3c664c commit 3ebb439

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

google/cloud/dataplex_v1/services/content_service/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,7 @@ async def sample_get_iam_policy():
701701
702702
Args:
703703
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
704-
The request object. Request message for `GetIamPolicy`
705-
method.
704+
The request object. Request message for ``GetIamPolicy`` method.
706705
resource (:class:`str`):
707706
REQUIRED: The resource for which the
708707
policy is being requested. See the
@@ -879,8 +878,7 @@ async def sample_set_iam_policy():
879878
880879
Args:
881880
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
882-
The request object. Request message for `SetIamPolicy`
883-
method.
881+
The request object. Request message for ``SetIamPolicy`` method.
884882
retry (google.api_core.retry.Retry): Designation of what errors, if any,
885883
should be retried.
886884
timeout (float): The timeout for this request.
@@ -1033,8 +1031,7 @@ async def sample_test_iam_permissions():
10331031
10341032
Args:
10351033
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1036-
The request object. Request message for
1037-
`TestIamPermissions` method.
1034+
The request object. Request message for ``TestIamPermissions`` method.
10381035
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10391036
should be retried.
10401037
timeout (float): The timeout for this request.

google/cloud/dataplex_v1/services/content_service/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -941,8 +941,7 @@ def sample_get_iam_policy():
941941
942942
Args:
943943
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
944-
The request object. Request message for `GetIamPolicy`
945-
method.
944+
The request object. Request message for ``GetIamPolicy`` method.
946945
resource (str):
947946
REQUIRED: The resource for which the
948947
policy is being requested. See the
@@ -1107,8 +1106,7 @@ def sample_set_iam_policy():
11071106
11081107
Args:
11091108
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1110-
The request object. Request message for `SetIamPolicy`
1111-
method.
1109+
The request object. Request message for ``SetIamPolicy`` method.
11121110
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11131111
should be retried.
11141112
timeout (float): The timeout for this request.
@@ -1260,8 +1258,7 @@ def sample_test_iam_permissions():
12601258
12611259
Args:
12621260
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
1263-
The request object. Request message for
1264-
`TestIamPermissions` method.
1261+
The request object. Request message for ``TestIamPermissions`` method.
12651262
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12661263
should be retried.
12671264
timeout (float): The timeout for this request.

google/cloud/dataplex_v1/services/metadata_service/async_client.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,12 @@ async def sample_update_entity():
394394
Args:
395395
request (Optional[Union[google.cloud.dataplex_v1.types.UpdateEntityRequest, dict]]):
396396
The request object. Update a metadata entity request.
397-
The exiting entity will be fully replaced by the entity
398-
in the request. The entity ID is mutable. To modify the
399-
ID, use the current entity ID in the request URL and
400-
specify the new ID in the request body.
397+
The exiting entity will be fully
398+
replaced by the entity in the request.
399+
The entity ID is mutable. To modify the
400+
ID, use the current entity ID in the
401+
request URL and specify the new ID in
402+
the request body.
401403
retry (google.api_core.retry.Retry): Designation of what errors, if any,
402404
should be retried.
403405
timeout (float): The timeout for this request.

google/cloud/dataplex_v1/services/metadata_service/client.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -675,10 +675,12 @@ def sample_update_entity():
675675
Args:
676676
request (Union[google.cloud.dataplex_v1.types.UpdateEntityRequest, dict]):
677677
The request object. Update a metadata entity request.
678-
The exiting entity will be fully replaced by the entity
679-
in the request. The entity ID is mutable. To modify the
680-
ID, use the current entity ID in the request URL and
681-
specify the new ID in the request body.
678+
The exiting entity will be fully
679+
replaced by the entity in the request.
680+
The entity ID is mutable. To modify the
681+
ID, use the current entity ID in the
682+
request URL and specify the new ID in
683+
the request body.
682684
retry (google.api_core.retry.Retry): Designation of what errors, if any,
683685
should be retried.
684686
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)