From f306471d6e75de32a430ec8e4fb24ee32a7faba0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 09:19:53 -0400 Subject: [PATCH] docs: Fix formatting of request arg in docstring (#26) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: https://github.com/googleapis/googleapis/commit/8a085aeddfa010af5bcef090827aac5255383d7e Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 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 --- .../analytics_hub_service/async_client.py | 25 +++++++------------ .../services/analytics_hub_service/client.py | 25 +++++++------------ 2 files changed, 18 insertions(+), 32 deletions(-) diff --git a/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/async_client.py b/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/async_client.py index f5cff77..54a6097 100644 --- a/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/async_client.py +++ b/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/async_client.py @@ -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. @@ -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``. @@ -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. @@ -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, @@ -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. @@ -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. @@ -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. @@ -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. diff --git a/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/client.py b/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/client.py index 83daa3e..8fe586d 100644 --- a/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/client.py +++ b/google/cloud/bigquery/analyticshub_v1/services/analytics_hub_service/client.py @@ -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. @@ -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``. @@ -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. @@ -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, @@ -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. @@ -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. @@ -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. @@ -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.