Skip to content

Commit 91a2819

Browse files
docs: Fix formatting of request arg in docstring (#307)
* 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 4ae8228 commit 91a2819

3 files changed

Lines changed: 6 additions & 17 deletions

File tree

packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/async_client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -850,8 +850,7 @@ async def sample_get_iam_policy():
850850
851851
Args:
852852
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
853-
The request object. Request message for `GetIamPolicy`
854-
method.
853+
The request object. Request message for ``GetIamPolicy`` method.
855854
resource (:class:`str`):
856855
REQUIRED: The resource for which the
857856
policy is being requested. See the
@@ -1020,8 +1019,7 @@ async def sample_set_iam_policy():
10201019
10211020
Args:
10221021
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1023-
The request object. Request message for `SetIamPolicy`
1024-
method.
1022+
The request object. Request message for ``SetIamPolicy`` method.
10251023
resource (:class:`str`):
10261024
REQUIRED: The resource for which the
10271025
policy is being specified. See the
@@ -1195,8 +1193,7 @@ async def sample_test_iam_permissions():
11951193
11961194
Args:
11971195
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1198-
The request object. Request message for
1199-
`TestIamPermissions` method.
1196+
The request object. Request message for ``TestIamPermissions`` method.
12001197
resource (:class:`str`):
12011198
REQUIRED: The resource for which the
12021199
policy detail is being requested. See

packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/client.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,8 +1091,7 @@ def sample_get_iam_policy():
10911091
10921092
Args:
10931093
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
1094-
The request object. Request message for `GetIamPolicy`
1095-
method.
1094+
The request object. Request message for ``GetIamPolicy`` method.
10961095
resource (str):
10971096
REQUIRED: The resource for which the
10981097
policy is being requested. See the
@@ -1258,8 +1257,7 @@ def sample_set_iam_policy():
12581257
12591258
Args:
12601259
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
1261-
The request object. Request message for `SetIamPolicy`
1262-
method.
1260+
The request object. Request message for ``SetIamPolicy`` method.
12631261
resource (str):
12641262
REQUIRED: The resource for which the
12651263
policy is being specified. See the
@@ -1430,8 +1428,7 @@ def sample_test_iam_permissions():
14301428
14311429
Args:
14321430
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
1433-
The request object. Request message for
1434-
`TestIamPermissions` method.
1431+
The request object. Request message for ``TestIamPermissions`` method.
14351432
resource (str):
14361433
REQUIRED: The resource for which the
14371434
policy detail is being requested. See

packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/transports/rest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ def __call__(
428428
request (~.gcbc_connection.CreateConnectionRequest):
429429
The request object. The request for
430430
[ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection].
431-
432431
retry (google.api_core.retry.Retry): Designation of what errors, if any,
433432
should be retried.
434433
timeout (float): The timeout for this request.
@@ -530,7 +529,6 @@ def __call__(
530529
request (~.connection.DeleteConnectionRequest):
531530
The request object. The request for
532531
[ConnectionService.DeleteConnectionRequest][].
533-
534532
retry (google.api_core.retry.Retry): Designation of what errors, if any,
535533
should be retried.
536534
timeout (float): The timeout for this request.
@@ -608,7 +606,6 @@ def __call__(
608606
request (~.connection.GetConnectionRequest):
609607
The request object. The request for
610608
[ConnectionService.GetConnection][google.cloud.bigquery.connection.v1.ConnectionService.GetConnection].
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.
@@ -871,7 +868,6 @@ def __call__(
871868
request (~.connection.ListConnectionsRequest):
872869
The request object. The request for
873870
[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections].
874-
875871
retry (google.api_core.retry.Retry): Designation of what errors, if any,
876872
should be retried.
877873
timeout (float): The timeout for this request.
@@ -1232,7 +1228,6 @@ def __call__(
12321228
request (~.gcbc_connection.UpdateConnectionRequest):
12331229
The request object. The request for
12341230
[ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection].
1235-
12361231
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12371232
should be retried.
12381233
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)