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

Commit

Permalink
docs: Fix formatting of request arg in docstring (#26)
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 6b3ef9b commit f306471
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 @@ -390,8 +390,8 @@ async def sample_list_org_data_exchanges():
Args:
request (Optional[Union[google.cloud.bigquery.analyticshub_v1.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 @@ -618,8 +618,7 @@ async def sample_create_data_exchange():
Args:
request (Optional[Union[google.cloud.bigquery.analyticshub_v1.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 @@ -736,8 +735,7 @@ async def sample_update_data_exchange():
Args:
request (Optional[Union[google.cloud.bigquery.analyticshub_v1.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.analyticshub_v1.types.DataExchange`):
Required. The data exchange to
update.
Expand Down Expand Up @@ -851,8 +849,7 @@ async def sample_delete_data_exchange():
Args:
request (Optional[Union[google.cloud.bigquery.analyticshub_v1.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 @@ -1503,8 +1500,7 @@ async def sample_subscribe_listing():
Args:
request (Optional[Union[google.cloud.bigquery.analyticshub_v1.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 @@ -1606,8 +1602,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 @@ -1749,8 +1744,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 @@ -1893,8 +1887,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 @@ -651,8 +651,8 @@ def sample_list_org_data_exchanges():
Args:
request (Union[google.cloud.bigquery.analyticshub_v1.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 @@ -879,8 +879,7 @@ def sample_create_data_exchange():
Args:
request (Union[google.cloud.bigquery.analyticshub_v1.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 @@ -997,8 +996,7 @@ def sample_update_data_exchange():
Args:
request (Union[google.cloud.bigquery.analyticshub_v1.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.analyticshub_v1.types.DataExchange):
Required. The data exchange to
update.
Expand Down Expand Up @@ -1112,8 +1110,7 @@ def sample_delete_data_exchange():
Args:
request (Union[google.cloud.bigquery.analyticshub_v1.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 @@ -1764,8 +1761,7 @@ def sample_subscribe_listing():
Args:
request (Union[google.cloud.bigquery.analyticshub_v1.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 @@ -1867,8 +1863,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 @@ -2009,8 +2004,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 @@ -2152,8 +2146,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 f306471

Please sign in to comment.