Skip to content

Commit ed25c45

Browse files
docs: Fix formatting of request arg in docstring (#30)
* 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 ecb1d5c commit ed25c45

5 files changed

Lines changed: 20 additions & 38 deletions

File tree

packages/google-cloud-bigquery-datapolicies/google/cloud/bigquery/datapolicies_v1/services/data_policy_service/async_client.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ async def sample_get_data_policy():
746746
747747
Args:
748748
request (Optional[Union[google.cloud.bigquery.datapolicies_v1.types.GetDataPolicyRequest, dict]]):
749-
The request object. Request message for the
750-
GetDataPolicy method.
749+
The request object. Request message for the GetDataPolicy
750+
method.
751751
name (:class:`str`):
752752
Required. Resource name of the requested data policy.
753753
Format is
@@ -982,8 +982,7 @@ async def sample_get_iam_policy():
982982
983983
Args:
984984
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
985-
The request object. Request message for `GetIamPolicy`
986-
method.
985+
The request object. Request message for ``GetIamPolicy`` method.
987986
retry (google.api_core.retry.Retry): Designation of what errors, if any,
988987
should be retried.
989988
timeout (float): The timeout for this request.
@@ -1134,8 +1133,7 @@ async def sample_set_iam_policy():
11341133
11351134
Args:
11361135
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1137-
The request object. Request message for `SetIamPolicy`
1138-
method.
1136+
The request object. Request message for ``SetIamPolicy`` method.
11391137
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11401138
should be retried.
11411139
timeout (float): The timeout for this request.
@@ -1288,8 +1286,7 @@ async def sample_test_iam_permissions():
12881286
12891287
Args:
12901288
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1291-
The request object. Request message for
1292-
`TestIamPermissions` method.
1289+
The request object. Request message for ``TestIamPermissions`` method.
12931290
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12941291
should be retried.
12951292
timeout (float): The timeout for this request.

packages/google-cloud-bigquery-datapolicies/google/cloud/bigquery/datapolicies_v1/services/data_policy_service/client.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -939,8 +939,8 @@ def sample_get_data_policy():
939939
940940
Args:
941941
request (Union[google.cloud.bigquery.datapolicies_v1.types.GetDataPolicyRequest, dict]):
942-
The request object. Request message for the
943-
GetDataPolicy method.
942+
The request object. Request message for the GetDataPolicy
943+
method.
944944
name (str):
945945
Required. Resource name of the requested data policy.
946946
Format is
@@ -1157,8 +1157,7 @@ def sample_get_iam_policy():
11571157
11581158
Args:
11591159
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
1160-
The request object. Request message for `GetIamPolicy`
1161-
method.
1160+
The request object. Request message for ``GetIamPolicy`` method.
11621161
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11631162
should be retried.
11641163
timeout (float): The timeout for this request.
@@ -1299,8 +1298,7 @@ def sample_set_iam_policy():
12991298
13001299
Args:
13011300
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1302-
The request object. Request message for `SetIamPolicy`
1303-
method.
1301+
The request object. Request message for ``SetIamPolicy`` method.
13041302
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13051303
should be retried.
13061304
timeout (float): The timeout for this request.
@@ -1443,8 +1441,7 @@ def sample_test_iam_permissions():
14431441
14441442
Args:
14451443
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
1446-
The request object. Request message for
1447-
`TestIamPermissions` method.
1444+
The request object. Request message for ``TestIamPermissions`` method.
14481445
retry (google.api_core.retry.Retry): Designation of what errors, if any,
14491446
should be retried.
14501447
timeout (float): The timeout for this request.

packages/google-cloud-bigquery-datapolicies/google/cloud/bigquery/datapolicies_v1/services/data_policy_service/transports/rest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@ def __call__(
459459
request (~.datapolicy.CreateDataPolicyRequest):
460460
The request object. Request message for the
461461
CreateDataPolicy method.
462-
463462
retry (google.api_core.retry.Retry): Designation of what errors, if any,
464463
should be retried.
465464
timeout (float): The timeout for this request.
@@ -558,7 +557,6 @@ def __call__(
558557
request (~.datapolicy.DeleteDataPolicyRequest):
559558
The request object. Request message for the
560559
DeleteDataPolicy method.
561-
562560
retry (google.api_core.retry.Retry): Designation of what errors, if any,
563561
should be retried.
564562
timeout (float): The timeout for this request.
@@ -636,7 +634,6 @@ def __call__(
636634
request (~.datapolicy.GetDataPolicyRequest):
637635
The request object. Request message for the GetDataPolicy
638636
method.
639-
640637
retry (google.api_core.retry.Retry): Designation of what errors, if any,
641638
should be retried.
642639
timeout (float): The timeout for this request.
@@ -894,7 +891,6 @@ def __call__(
894891
request (~.datapolicy.ListDataPoliciesRequest):
895892
The request object. Request message for the
896893
ListDataPolicies method.
897-
898894
retry (google.api_core.retry.Retry): Designation of what errors, if any,
899895
should be retried.
900896
timeout (float): The timeout for this request.
@@ -986,7 +982,6 @@ def __call__(
986982
request (~.datapolicy.RenameDataPolicyRequest):
987983
The request object. Request message for the
988984
RenameDataPolicy method.
989-
990985
retry (google.api_core.retry.Retry): Designation of what errors, if any,
991986
should be retried.
992987
timeout (float): The timeout for this request.
@@ -1352,7 +1347,6 @@ def __call__(
13521347
request (~.datapolicy.UpdateDataPolicyRequest):
13531348
The request object. Response message for the
13541349
UpdateDataPolicy method.
1355-
13561350
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13571351
should be retried.
13581352
timeout (float): The timeout for this request.

packages/google-cloud-bigquery-datapolicies/google/cloud/bigquery/datapolicies_v1beta1/services/data_policy_service/async_client.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,8 @@ async def sample_get_data_policy():
628628
629629
Args:
630630
request (Optional[Union[google.cloud.bigquery.datapolicies_v1beta1.types.GetDataPolicyRequest, dict]]):
631-
The request object. Request message for the
632-
GetDataPolicy method.
631+
The request object. Request message for the GetDataPolicy
632+
method.
633633
name (:class:`str`):
634634
Required. Resource name of the requested data policy.
635635
Format is
@@ -864,8 +864,7 @@ async def sample_get_iam_policy():
864864
865865
Args:
866866
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
867-
The request object. Request message for `GetIamPolicy`
868-
method.
867+
The request object. Request message for ``GetIamPolicy`` method.
869868
retry (google.api_core.retry.Retry): Designation of what errors, if any,
870869
should be retried.
871870
timeout (float): The timeout for this request.
@@ -1016,8 +1015,7 @@ async def sample_set_iam_policy():
10161015
10171016
Args:
10181017
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1019-
The request object. Request message for `SetIamPolicy`
1020-
method.
1018+
The request object. Request message for ``SetIamPolicy`` method.
10211019
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10221020
should be retried.
10231021
timeout (float): The timeout for this request.
@@ -1170,8 +1168,7 @@ async def sample_test_iam_permissions():
11701168
11711169
Args:
11721170
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1173-
The request object. Request message for
1174-
`TestIamPermissions` method.
1171+
The request object. Request message for ``TestIamPermissions`` method.
11751172
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11761173
should be retried.
11771174
timeout (float): The timeout for this request.

packages/google-cloud-bigquery-datapolicies/google/cloud/bigquery/datapolicies_v1beta1/services/data_policy_service/client.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -828,8 +828,8 @@ def sample_get_data_policy():
828828
829829
Args:
830830
request (Union[google.cloud.bigquery.datapolicies_v1beta1.types.GetDataPolicyRequest, dict]):
831-
The request object. Request message for the
832-
GetDataPolicy method.
831+
The request object. Request message for the GetDataPolicy
832+
method.
833833
name (str):
834834
Required. Resource name of the requested data policy.
835835
Format is
@@ -1046,8 +1046,7 @@ def sample_get_iam_policy():
10461046
10471047
Args:
10481048
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
1049-
The request object. Request message for `GetIamPolicy`
1050-
method.
1049+
The request object. Request message for ``GetIamPolicy`` method.
10511050
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10521051
should be retried.
10531052
timeout (float): The timeout for this request.
@@ -1188,8 +1187,7 @@ def sample_set_iam_policy():
11881187
11891188
Args:
11901189
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1191-
The request object. Request message for `SetIamPolicy`
1192-
method.
1190+
The request object. Request message for ``SetIamPolicy`` method.
11931191
retry (google.api_core.retry.Retry): Designation of what errors, if any,
11941192
should be retried.
11951193
timeout (float): The timeout for this request.
@@ -1332,8 +1330,7 @@ def sample_test_iam_permissions():
13321330
13331331
Args:
13341332
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
1335-
The request object. Request message for
1336-
`TestIamPermissions` method.
1333+
The request object. Request message for ``TestIamPermissions`` method.
13371334
retry (google.api_core.retry.Retry): Designation of what errors, if any,
13381335
should be retried.
13391336
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)