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

Commit

Permalink
docs: Fix formatting of request arg in docstring (#69)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 23, 2023
1 parent 71a8ace commit 665ebe3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ async def sample_list_org_data_exchanges():
Args:
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.ListOrgDataExchangesRequest, dict]]):
The request object. Message for requesting the list of
data exchanges from projects in an organization and
location.
data exchanges from projects in an
organization and location.
organization (:class:`str`):
Required. The organization resource path of the projects
containing DataExchanges. e.g.
Expand Down Expand Up @@ -621,8 +621,7 @@ async def sample_create_data_exchange():
Args:
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.CreateDataExchangeRequest, dict]]):
The request object. Message for creating a data
exchange.
The request object. Message for creating a data exchange.
parent (:class:`str`):
Required. The parent resource path of the data exchange.
e.g. ``projects/myproject/locations/US``.
Expand Down Expand Up @@ -739,8 +738,7 @@ async def sample_update_data_exchange():
Args:
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.UpdateDataExchangeRequest, dict]]):
The request object. Message for updating a data
exchange.
The request object. Message for updating a data exchange.
data_exchange (:class:`google.cloud.bigquery_data_exchange_v1beta1.types.DataExchange`):
Required. The data exchange to
update.
Expand Down Expand Up @@ -854,8 +852,7 @@ async def sample_delete_data_exchange():
Args:
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.DeleteDataExchangeRequest, dict]]):
The request object. Message for deleting a data
exchange.
The request object. Message for deleting a data exchange.
name (:class:`str`):
Required. The full name of the data exchange resource
that you want to delete. For example,
Expand Down Expand Up @@ -1506,8 +1503,7 @@ async def sample_subscribe_listing():
Args:
request (Optional[Union[google.cloud.bigquery_data_exchange_v1beta1.types.SubscribeListingRequest, dict]]):
The request object. Message for subscribing to a
listing.
The request object. Message for subscribing to a listing.
name (:class:`str`):
Required. Resource name of the listing that you want to
subscribe to. e.g.
Expand Down Expand Up @@ -1609,8 +1605,7 @@ async def sample_get_iam_policy():
Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1752,8 +1747,7 @@ async def sample_set_iam_policy():
Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1896,8 +1890,7 @@ async def sample_test_iam_permissions():
Args:
request (Optional[Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,8 @@ def sample_list_org_data_exchanges():
Args:
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.ListOrgDataExchangesRequest, dict]):
The request object. Message for requesting the list of
data exchanges from projects in an organization and
location.
data exchanges from projects in an
organization and location.
organization (str):
Required. The organization resource path of the projects
containing DataExchanges. e.g.
Expand Down Expand Up @@ -882,8 +882,7 @@ def sample_create_data_exchange():
Args:
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.CreateDataExchangeRequest, dict]):
The request object. Message for creating a data
exchange.
The request object. Message for creating a data exchange.
parent (str):
Required. The parent resource path of the data exchange.
e.g. ``projects/myproject/locations/US``.
Expand Down Expand Up @@ -1000,8 +999,7 @@ def sample_update_data_exchange():
Args:
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.UpdateDataExchangeRequest, dict]):
The request object. Message for updating a data
exchange.
The request object. Message for updating a data exchange.
data_exchange (google.cloud.bigquery_data_exchange_v1beta1.types.DataExchange):
Required. The data exchange to
update.
Expand Down Expand Up @@ -1115,8 +1113,7 @@ def sample_delete_data_exchange():
Args:
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.DeleteDataExchangeRequest, dict]):
The request object. Message for deleting a data
exchange.
The request object. Message for deleting a data exchange.
name (str):
Required. The full name of the data exchange resource
that you want to delete. For example,
Expand Down Expand Up @@ -1767,8 +1764,7 @@ def sample_subscribe_listing():
Args:
request (Union[google.cloud.bigquery_data_exchange_v1beta1.types.SubscribeListingRequest, dict]):
The request object. Message for subscribing to a
listing.
The request object. Message for subscribing to a listing.
name (str):
Required. Resource name of the listing that you want to
subscribe to. e.g.
Expand Down Expand Up @@ -1870,8 +1866,7 @@ def sample_get_iam_policy():
Args:
request (Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]):
The request object. Request message for `GetIamPolicy`
method.
The request object. Request message for ``GetIamPolicy`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2012,8 +2007,7 @@ def sample_set_iam_policy():
Args:
request (Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]):
The request object. Request message for `SetIamPolicy`
method.
The request object. Request message for ``SetIamPolicy`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2155,8 +2149,7 @@ def sample_test_iam_permissions():
Args:
request (Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]):
The request object. Request message for
`TestIamPermissions` method.
The request object. Request message for ``TestIamPermissions`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down

0 comments on commit 665ebe3

Please sign in to comment.