Skip to content

Commit 8186fce

Browse files
docs: Fix formatting of request arg in docstring (#69)
* 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 da64394 commit 8186fce

File tree

2 files changed

+18
-32
lines changed
  • packages/google-cloud-bigquery-data-exchange/google/cloud/bigquery_data_exchange_v1beta1/services/analytics_hub_service

2 files changed

+18
-32
lines changed

packages/google-cloud-bigquery-data-exchange/google/cloud/bigquery_data_exchange_v1beta1/services/analytics_hub_service/async_client.py

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ async def sample_list_org_data_exchanges():
393393
Args:
394394
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.ListOrgDataExchangesRequest, dict]]):
395395
The request object. Message for requesting the list of
396-
data exchanges from projects in an organization and
397-
location.
396+
data exchanges from projects in an
397+
organization and location.
398398
organization (:class:`str`):
399399
Required. The organization resource path of the projects
400400
containing DataExchanges. e.g.
@@ -621,8 +621,7 @@ async def sample_create_data_exchange():
621621
622622
Args:
623623
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.CreateDataExchangeRequest, dict]]):
624-
The request object. Message for creating a data
625-
exchange.
624+
The request object. Message for creating a data exchange.
626625
parent (:class:`str`):
627626
Required. The parent resource path of the data exchange.
628627
e.g. ``projects/myproject/locations/US``.
@@ -739,8 +738,7 @@ async def sample_update_data_exchange():
739738
740739
Args:
741740
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.UpdateDataExchangeRequest, dict]]):
742-
The request object. Message for updating a data
743-
exchange.
741+
The request object. Message for updating a data exchange.
744742
data_exchange (:class:`google.cloud.bigquery_data_exchange_v1beta1.types.DataExchange`):
745743
Required. The data exchange to
746744
update.
@@ -854,8 +852,7 @@ async def sample_delete_data_exchange():
854852
855853
Args:
856854
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.DeleteDataExchangeRequest, dict]]):
857-
The request object. Message for deleting a data
858-
exchange.
855+
The request object. Message for deleting a data exchange.
859856
name (:class:`str`):
860857
Required. The full name of the data exchange resource
861858
that you want to delete. For example,
@@ -1506,8 +1503,7 @@ async def sample_subscribe_listing():
15061503
15071504
Args:
15081505
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.SubscribeListingRequest, dict]]):
1509-
The request object. Message for subscribing to a
1510-
listing.
1506+
The request object. Message for subscribing to a listing.
15111507
name (:class:`str`):
15121508
Required. Resource name of the listing that you want to
15131509
subscribe to. e.g.
@@ -1609,8 +1605,7 @@ async def sample_get_iam_policy():
16091605
16101606
Args:
16111607
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
1612-
The request object. Request message for `GetIamPolicy`
1613-
method.
1608+
The request object. Request message for ``GetIamPolicy`` method.
16141609
retry (google.api_core.retry.Retry): Designation of what errors, if any,
16151610
should be retried.
16161611
timeout (float): The timeout for this request.
@@ -1752,8 +1747,7 @@ async def sample_set_iam_policy():
17521747
17531748
Args:
17541749
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
1755-
The request object. Request message for `SetIamPolicy`
1756-
method.
1750+
The request object. Request message for ``SetIamPolicy`` method.
17571751
retry (google.api_core.retry.Retry): Designation of what errors, if any,
17581752
should be retried.
17591753
timeout (float): The timeout for this request.
@@ -1896,8 +1890,7 @@ async def sample_test_iam_permissions():
18961890
18971891
Args:
18981892
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
1899-
The request object. Request message for
1900-
`TestIamPermissions` method.
1893+
The request object. Request message for ``TestIamPermissions`` method.
19011894
retry (google.api_core.retry.Retry): Designation of what errors, if any,
19021895
should be retried.
19031896
timeout (float): The timeout for this request.

packages/google-cloud-bigquery-data-exchange/google/cloud/bigquery_data_exchange_v1beta1/services/analytics_hub_service/client.py

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ def sample_list_org_data_exchanges():
654654
Args:
655655
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.ListOrgDataExchangesRequest, dict]):
656656
The request object. Message for requesting the list of
657-
data exchanges from projects in an organization and
658-
location.
657+
data exchanges from projects in an
658+
organization and location.
659659
organization (str):
660660
Required. The organization resource path of the projects
661661
containing DataExchanges. e.g.
@@ -882,8 +882,7 @@ def sample_create_data_exchange():
882882
883883
Args:
884884
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.CreateDataExchangeRequest, dict]):
885-
The request object. Message for creating a data
886-
exchange.
885+
The request object. Message for creating a data exchange.
887886
parent (str):
888887
Required. The parent resource path of the data exchange.
889888
e.g. ``projects/myproject/locations/US``.
@@ -1000,8 +999,7 @@ def sample_update_data_exchange():
1000999
10011000
Args:
10021001
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.UpdateDataExchangeRequest, dict]):
1003-
The request object. Message for updating a data
1004-
exchange.
1002+
The request object. Message for updating a data exchange.
10051003
data_exchange (google.cloud.bigquery_data_exchange_v1beta1.types.DataExchange):
10061004
Required. The data exchange to
10071005
update.
@@ -1115,8 +1113,7 @@ def sample_delete_data_exchange():
11151113
11161114
Args:
11171115
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.DeleteDataExchangeRequest, dict]):
1118-
The request object. Message for deleting a data
1119-
exchange.
1116+
The request object. Message for deleting a data exchange.
11201117
name (str):
11211118
Required. The full name of the data exchange resource
11221119
that you want to delete. For example,
@@ -1767,8 +1764,7 @@ def sample_subscribe_listing():
17671764
17681765
Args:
17691766
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.SubscribeListingRequest, dict]):
1770-
The request object. Message for subscribing to a
1771-
listing.
1767+
The request object. Message for subscribing to a listing.
17721768
name (str):
17731769
Required. Resource name of the listing that you want to
17741770
subscribe to. e.g.
@@ -1870,8 +1866,7 @@ def sample_get_iam_policy():
18701866
18711867
Args:
18721868
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
1873-
The request object. Request message for `GetIamPolicy`
1874-
method.
1869+
The request object. Request message for ``GetIamPolicy`` method.
18751870
retry (google.api_core.retry.Retry): Designation of what errors, if any,
18761871
should be retried.
18771872
timeout (float): The timeout for this request.
@@ -2012,8 +2007,7 @@ def sample_set_iam_policy():
20122007
20132008
Args:
20142009
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
2015-
The request object. Request message for `SetIamPolicy`
2016-
method.
2010+
The request object. Request message for ``SetIamPolicy`` method.
20172011
retry (google.api_core.retry.Retry): Designation of what errors, if any,
20182012
should be retried.
20192013
timeout (float): The timeout for this request.
@@ -2155,8 +2149,7 @@ def sample_test_iam_permissions():
21552149
21562150
Args:
21572151
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
2158-
The request object. Request message for
2159-
`TestIamPermissions` method.
2152+
The request object. Request message for ``TestIamPermissions`` method.
21602153
retry (google.api_core.retry.Retry): Designation of what errors, if any,
21612154
should be retried.
21622155
timeout (float): The timeout for this request.

0 commit comments

Comments
 (0)