From 20293505187f4e4b63946c4d800094fe349bb0df 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:40:05 -0400 Subject: [PATCH] docs: Fix formatting of request arg in docstring (#262) 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 --- .../webrisk_v1/services/web_risk_service/async_client.py | 4 ++-- .../cloud/webrisk_v1/services/web_risk_service/client.py | 4 ++-- .../webrisk_v1/services/web_risk_service/transports/rest.py | 3 --- .../services/web_risk_service_v1_beta1/async_client.py | 4 ++-- .../services/web_risk_service_v1_beta1/client.py | 4 ++-- .../services/web_risk_service_v1_beta1/transports/rest.py | 2 -- .../snippet_metadata_google.cloud.webrisk.v1.json | 2 +- .../snippet_metadata_google.cloud.webrisk.v1beta1.json | 2 +- 8 files changed, 10 insertions(+), 15 deletions(-) diff --git a/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/async_client.py b/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/async_client.py index b234afe6480d..0fe829bb2b08 100644 --- a/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/async_client.py +++ b/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/async_client.py @@ -521,8 +521,8 @@ async def sample_search_hashes(): Args: request (Optional[Union[google.cloud.webrisk_v1.types.SearchHashesRequest, dict]]): - The request object. Request to return full hashes - matched by the provided hash prefixes. + The request object. Request to return full hashes matched + by the provided hash prefixes. hash_prefix (:class:`bytes`): A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. diff --git a/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/client.py b/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/client.py index 2b6e71226a87..3ba8ad34fd27 100644 --- a/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/client.py +++ b/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/client.py @@ -710,8 +710,8 @@ def sample_search_hashes(): Args: request (Union[google.cloud.webrisk_v1.types.SearchHashesRequest, dict]): - The request object. Request to return full hashes - matched by the provided hash prefixes. + The request object. Request to return full hashes matched + by the provided hash prefixes. hash_prefix (bytes): A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. diff --git a/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/transports/rest.py b/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/transports/rest.py index f02038b1e685..f1e69280cce6 100644 --- a/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/transports/rest.py +++ b/packages/google-cloud-webrisk/google/cloud/webrisk_v1/services/web_risk_service/transports/rest.py @@ -406,7 +406,6 @@ def __call__( request (~.webrisk.CreateSubmissionRequest): The request object. Request to send a potentially phishy URI to WebRisk. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -509,7 +508,6 @@ def __call__( request (~.webrisk.SearchHashesRequest): The request object. Request to return full hashes matched by the provided hash prefixes. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -600,7 +598,6 @@ def __call__( request (~.webrisk.SearchUrisRequest): The request object. Request to check URI entries against threatLists. - 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/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/async_client.py b/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/async_client.py index a431fcc7b603..41b2181b8e16 100644 --- a/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/async_client.py +++ b/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/async_client.py @@ -502,8 +502,8 @@ async def sample_search_hashes(): Args: request (Optional[Union[google.cloud.webrisk_v1beta1.types.SearchHashesRequest, dict]]): - The request object. Request to return full hashes - matched by the provided hash prefixes. + The request object. Request to return full hashes matched + by the provided hash prefixes. hash_prefix (:class:`bytes`): A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. diff --git a/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/client.py b/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/client.py index b6118c941a19..341b7aa07c80 100644 --- a/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/client.py +++ b/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/client.py @@ -688,8 +688,8 @@ def sample_search_hashes(): Args: request (Union[google.cloud.webrisk_v1beta1.types.SearchHashesRequest, dict]): - The request object. Request to return full hashes - matched by the provided hash prefixes. + The request object. Request to return full hashes matched + by the provided hash prefixes. hash_prefix (bytes): A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. diff --git a/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/transports/rest.py b/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/transports/rest.py index 9e3d15253f48..937d1f504d31 100644 --- a/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/transports/rest.py +++ b/packages/google-cloud-webrisk/google/cloud/webrisk_v1beta1/services/web_risk_service_v1_beta1/transports/rest.py @@ -377,7 +377,6 @@ def __call__( request (~.webrisk.SearchHashesRequest): The request object. Request to return full hashes matched by the provided hash prefixes. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -468,7 +467,6 @@ def __call__( request (~.webrisk.SearchUrisRequest): The request object. Request to check URI entries against threatLists. - 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/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1.json b/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1.json index 9ed61de4c532..60eac298e2e4 100644 --- a/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1.json +++ b/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-webrisk", - "version": "1.11.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1beta1.json b/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1beta1.json index 3b2b78fe12d0..de1e97aff4a5 100644 --- a/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1beta1.json +++ b/packages/google-cloud-webrisk/samples/generated_samples/snippet_metadata_google.cloud.webrisk.v1beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-webrisk", - "version": "1.11.0" + "version": "0.1.0" }, "snippets": [ {