Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#262)
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] authored Mar 23, 2023
1 parent 149daaf commit 2029350
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-webrisk",
"version": "1.11.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-webrisk",
"version": "1.11.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit 2029350

Please sign in to comment.